web: don't display pointer cursor for disabled buttons

This commit is contained in:
dumbmoron 2024-07-30 16:37:44 +00:00
parent a6a0e91674
commit 3d34e09e1c
No known key found for this signature in database

View file

@ -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) {