mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web: don't display pointer cursor for disabled buttons
This commit is contained in:
parent
a6a0e91674
commit
3d34e09e1c
1 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,10 @@
|
|||
background-color: var(--button-active-hover);
|
||||
}
|
||||
|
||||
:global(button[disabled]) {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* important is used because active class is toggled by state */
|
||||
/* and added to the end of the list, taking priority */
|
||||
:global(.active:focus-visible) {
|
||||
|
|
Loading…
Reference in a new issue