Skip to content

Commit

Permalink
fix(react): use default hover cursor when checkboxes are disabled (#1340
Browse files Browse the repository at this point in the history
)

fix: use default hover cursor when checkboxes and radioboxes are disabled
  • Loading branch information
JoshMK authored Feb 9, 2024
1 parent 9bf6c09 commit 3818823
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/styles/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,13 @@ textarea.Field--has-error:focus:hover,
.Radio__overlay--disabled.Icon--radio-checked,
.Checkbox__overlay--disabled.Icon--checkbox-checked {
color: var(--field-icon-checked-disabled-color);
cursor: default;
}

.Checkbox__overlay--disabled.Icon--checkbox-unchecked,
.Radio__overlay--disabled.Icon--radio-unchecked {
color: var(--field-icon-unchecked-disabled-color);
cursor: default;
}

.Field__label:hover ~ .Radio__overlay:not(.Radio__overlay--disabled),
Expand Down

0 comments on commit 3818823

Please sign in to comment.