Skip to content

Commit

Permalink
fix(NcCheckboxRadioSwitch): switch may always have checked-like backg…
Browse files Browse the repository at this point in the history
…round

Signed-off-by: Antreesy <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Sep 5, 2024
1 parent a24042e commit e6d08b6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export default {
&__icon > * {
width: var(--icon-size);
height: var(--icon-size);
color: var(--color-primary-element);
}
&--button-variant {
Expand All @@ -233,12 +234,6 @@ export default {
padding-right: $icon-margin;
}
&:not(&--button-variant) {
.checkbox-content__icon > * {
color: var(--color-primary-element);
}
}
&, * {
cursor: pointer;
flex-shrink: 0;
Expand Down

0 comments on commit e6d08b6

Please sign in to comment.