mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 12:30:12 +02:00
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:
parent
8193e8c14d
commit
e541bdc6d7
@ -53,6 +53,10 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.switcher :global(.button.active:hover) {
|
||||
background: var(--secondary);
|
||||
}
|
||||
|
||||
.switcher.big :global(.button) {
|
||||
width: 100%;
|
||||
/* [base button height] - ([switcher padding] * [padding factor to accommodate for]) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user