web/Switcher: fix ghost hover effect on active button

it used to appear very briefly when you pressed a button and didn't move the cursor off the button
This commit is contained in:
wukko 2024-07-20 19:09:44 +06:00
parent 8193e8c14d
commit e541bdc6d7
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -53,6 +53,10 @@
pointer-events: none; pointer-events: none;
} }
.switcher :global(.button.active:hover) {
background: var(--secondary);
}
.switcher.big :global(.button) { .switcher.big :global(.button) {
width: 100%; width: 100%;
/* [base button height] - ([switcher padding] * [padding factor to accommodate for]) */ /* [base button height] - ([switcher padding] * [padding factor to accommodate for]) */