From 25653e55770fbae959c9734beb297acbaededfd8 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 27 Mar 2024 15:52:14 +0300 Subject: Fix htmx swap. Signed-off-by: Munyoki Kilyungi Co-authored-by: Alexander Kabui --- gn2/wqflask/templates/gnqa.html | 109 ++++++++++++++++++++++------------------ 1 file changed, 59 insertions(+), 50 deletions(-) (limited to 'gn2/wqflask/templates/gnqa.html') diff --git a/gn2/wqflask/templates/gnqa.html b/gn2/wqflask/templates/gnqa.html index 248c18bc..5688655d 100644 --- a/gn2/wqflask/templates/gnqa.html +++ b/gn2/wqflask/templates/gnqa.html @@ -13,9 +13,9 @@ .htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; display: block; - position: absolute; - left: 50%; - top: 50%; + position: fixed; + left: 50vw; + top: 50vh; z-index: 19; } @@ -48,6 +48,7 @@ #gnqna_search_home button { margin-right: 10px; + width: fit-content; } .answers { width: 75%; @@ -58,33 +59,33 @@ {% block search %}{% endblock %}