From 7c7e81f841da2ecf06e345d108ef7f1bd02203b9 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Aug 2022 20:24:27 +0100 Subject: [PATCH] Only animate loading spinner when it's visible --- static/src/scss/_search.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/src/scss/_search.scss b/static/src/scss/_search.scss index 5d0253c..55c6ea3 100644 --- a/static/src/scss/_search.scss +++ b/static/src/scss/_search.scss @@ -14,7 +14,7 @@ body.page-searchpage { max-width: 80%; } - #search-indicator { + #search-indicator.htmx-request { animation: search-loading 1.5s linear infinite; }