UX: no cursor-hand on disabled buttons

This commit is contained in:
Pieter Vander Vennet 2024-07-09 13:05:53 +02:00
parent 0db81f7b68
commit 4df2d34f02
2 changed files with 2 additions and 0 deletions

View file

@ -4600,6 +4600,7 @@ button.primary:hover:not(.disabled), .button.primary:hover:not(.disabled) {
button.disabled { button.disabled {
border-color: var(--disabled); border-color: var(--disabled);
color: var(--disabled); color: var(--disabled);
cursor: unset;
} }
button.disabled svg path { button.disabled svg path {

View file

@ -238,6 +238,7 @@ button.primary:hover:not(.disabled), .button.primary:hover:not(.disabled) {
button.disabled { button.disabled {
border-color: var(--disabled); border-color: var(--disabled);
color: var(--disabled); color: var(--disabled);
cursor: unset;
} }
button.disabled svg path { button.disabled svg path {
transition: all 200ms; transition: all 200ms;