From ef5572260a7d0544e5d1c931854c60b8eda25bc6 Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Wed, 10 Jul 2024 22:48:12 +0200 Subject: [PATCH] don't move voting_buttons_new around --- app/static/styles.css | 8 -------- app/static/styles.scss | 5 ----- 2 files changed, 13 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index 86dd1b5f..228208ec 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1063,9 +1063,7 @@ div.navbar { } .voting_buttons_new .upvote_button, .voting_buttons_new .downvote_button { display: inline-block; - padding: 5px 0 5px 3px; text-align: center; - position: relative; cursor: pointer; color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)); min-width: 44px; @@ -1088,16 +1086,10 @@ div.navbar { color: darkred; font-weight: bold; } -.voting_buttons_new .upvote_button { - top: 1px; -} .voting_buttons_new .upvote_button .htmx-indicator { left: 13px; top: 7px; } -.voting_buttons_new .downvote_button { - top: 1px; -} .voting_buttons_new .downvote_button .htmx-indicator { left: 12px; top: 5px; diff --git a/app/static/styles.scss b/app/static/styles.scss index 63efa76e..f42a0f8d 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -702,9 +702,7 @@ div.navbar { .upvote_button, .downvote_button { display: inline-block; - padding: 5px 0 5px 3px; text-align: center; - position: relative; cursor: pointer; color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1)); min-width: $min-touch-target; @@ -733,8 +731,6 @@ div.navbar { } .upvote_button { - top: 1px; - .htmx-indicator { left: 13px; top: 7px; @@ -742,7 +738,6 @@ div.navbar { } .downvote_button { - top: 1px; .htmx-indicator { left: 12px; top: 5px;