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