Skip to content

Commit

Permalink
checkbox field indeterminate style
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-figma committed Jun 3, 2024
1 parent 7e8d340 commit 4d767bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/primitives/Checkbox/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
--checkbox-border: var(--checkbox-background);
}

.checkbox-field[data-selected]
> .checkbox:not([data-indeterminate])
.checkbox-field[data-selected]:not([data-indeterminate])
> .checkbox
> .icon-selected,
.checkbox[data-selected]:not([data-indeterminate]) > .icon-selected {
display: block;
}
.checkbox-field[data-selected]
> .checkbox[data-indeterminate]
.checkbox-field[data-selected][data-indeterminate]
> .checkbox
> .icon-indeterminate,
.checkbox[data-selected][data-indeterminate] > .icon-indeterminate {
display: block;
Expand Down

0 comments on commit 4d767bc

Please sign in to comment.