From b448c1dee3075dc3c9cc9656210f22ecb83f94f4 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 12 Jul 2024 20:45:19 +0800 Subject: [PATCH] fix htmx-indictor position #261 --- app/static/styles.css | 2 ++ app/static/styles.scss | 1 + 2 files changed, 3 insertions(+) diff --git a/app/static/styles.css b/app/static/styles.css index dd28dba6..9def209b 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1062,6 +1062,8 @@ div.navbar { display: inline-block; } .voting_buttons_new .upvote_button, .voting_buttons_new .downvote_button { + position: relative; + /* so the htmx-indicators can be position: absolute */ display: inline-block; text-align: center; cursor: pointer; diff --git a/app/static/styles.scss b/app/static/styles.scss index bec3c443..5bedbc9e 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -701,6 +701,7 @@ div.navbar { display: inline-block; .upvote_button, .downvote_button { + position: relative; /* so the htmx-indicators can be position: absolute */ display: inline-block; text-align: center; cursor: pointer;