Skip to content

Commit

Permalink
Bug Fixed: Change cursor pointer in checkbox's disabled state
Browse files Browse the repository at this point in the history
issue: Change cursor pointer in checkbox's disabled state appwrite#91

Edited: _radio-and-checkbox.scss
added cursor: default; in disabled state.
  • Loading branch information
Priyanshu Verma authored Jun 14, 2023
1 parent dfde85d commit 451f80f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui/src/6-elements/form/_radio-and-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
&:where(:disabled) {
--p-bg-color: var(--p-bg-color-disabled);
--p-border-color: var(--p-border-color-ddisabled);
cursor: default;
&:where(:checked) {
--p-icon-color: var(--p-icon-color-disabled-checked);
--p-bg-color: var(--p-bg-color-disabled-checked);
Expand Down Expand Up @@ -212,4 +213,4 @@
--p-choice-item-title-color: var(--color-neutral-10);
--p-choice-item-text-color: var(--color-neutral-50);
}
}
}

0 comments on commit 451f80f

Please sign in to comment.