From e6d08b6c507fb381d2f3628f1bd583deab9ca305 Mon Sep 17 00:00:00 2001 From: Antreesy Date: Thu, 5 Sep 2024 18:57:05 +0200 Subject: [PATCH] fix(NcCheckboxRadioSwitch): switch may always have checked-like background Signed-off-by: Antreesy --- src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue b/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue index ae7294e29a..0f947ac368 100644 --- a/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue +++ b/src/components/NcCheckboxRadioSwitch/NcCheckboxContent.vue @@ -217,6 +217,7 @@ export default { &__icon > * { width: var(--icon-size); height: var(--icon-size); + color: var(--color-primary-element); } &--button-variant { @@ -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;