mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue