Skip to content

Commit

Permalink
fix unwanted border on disabled checkbox. fixes: #3009 (#3010)
Browse files Browse the repository at this point in the history
Added border-0 to the disabled state of the checkbox to fix the issue highlighted here: #3009
  • Loading branch information
tojaprice committed May 1, 2024
1 parent 8864ba5 commit c69a081
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/styled/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
&:focus-visible {
@apply outline-base-content outline outline-2 outline-offset-2;
}
&:disabled {
@apply border-0;
}
&:checked,
&[aria-checked="true"] {
@apply bg-no-repeat;
Expand Down

0 comments on commit c69a081

Please sign in to comment.