Skip to content

Commit

Permalink
Merge pull request #95 from ANKITSINGH065/fix-91/Change-cursor-pointe…
Browse files Browse the repository at this point in the history
…r-in-checkbox's-disabled-state

Fix [Bug]: Change cursor pointer in checkbox's disabled state #91
  • Loading branch information
TorstenDittmann authored Nov 16, 2023
2 parents 68a720e + 99dea9b commit 7e5f956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/6-elements/form/_switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
&:where(:disabled) {
--p-bg-color: var(--p-bg-color-disabled);
--p-switch-bg-color: var(--p-switch-bg-color-disabled);
cursor: default;
&:where(:checked) { --p-bg-color: var(--p-bg-color-checked-disabled); }
}

Expand Down

0 comments on commit 7e5f956

Please sign in to comment.