From 02cc040cd663376fd6e194816b696f32f78a0d4d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 28 Jan 2025 16:30:00 +0200 Subject: [PATCH] show marker when hovering on button intself, not container --- .../status_action_buttons/action_button.scss | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/components/status_action_buttons/action_button.scss b/src/components/status_action_buttons/action_button.scss index d433f64b0..bbd3f7af4 100644 --- a/src/components/status_action_buttons/action_button.scss +++ b/src/components/status_action_buttons/action_button.scss @@ -51,6 +51,26 @@ grid-auto-flow: column; grid-auto-columns: max-content; align-items: center; + + @include unfocused-style { + .focus-marker { + visibility: hidden; + } + + .active-marker { + visibility: visible; + } + } + + @include focused-style { + .focus-marker { + visibility: visible; + } + + .active-marker { + visibility: hidden; + } + } } } @@ -82,24 +102,4 @@ } } } - - @include unfocused-style { - .focus-marker { - visibility: hidden; - } - - .active-marker { - visibility: visible; - } - } - - @include focused-style { - .focus-marker { - visibility: visible; - } - - .active-marker { - visibility: hidden; - } - } }