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;