logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: 02cc040cd663376fd6e194816b696f32f78a0d4d
parent 7f9fe6b660ca38fa7e4ad2f47b8500398f742494
Author: Henry Jameson <me@hjkos.com>
Date:   Tue, 28 Jan 2025 16:30:00 +0200

show marker when hovering on button intself, not container

Diffstat:

Msrc/components/status_action_buttons/action_button.scss40++++++++++++++++++++--------------------
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 @@ -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; - } - } }