Only animate loading spinner when it's visible

This commit is contained in:
Jake Howard 2022-08-27 20:24:27 +01:00
parent 7e53cf76f4
commit 7c7e81f841
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -14,7 +14,7 @@ body.page-searchpage {
max-width: 80%; max-width: 80%;
} }
#search-indicator { #search-indicator.htmx-request {
animation: search-loading 1.5s linear infinite; animation: search-loading 1.5s linear infinite;
} }