fix htmx-indictor position #261

This commit is contained in:
rimu 2024-07-12 20:45:19 +08:00
parent 63049942ee
commit b448c1dee3
2 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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;