From 89fc7f24598eadd6d233bfb9cd9d87cffcfe89e8 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 25 Nov 2024 18:36:22 +0100 Subject: [PATCH] style(NcCheckboxRadioSwitch): set default cursor to content of disabled component - unless there is a nested clickable link (like interactive todo lists in NcRichtext) Signed-off-by: Maksim Sukharev --- .../NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue b/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue index 38db1b415c..8c531a7dba 100644 --- a/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue +++ b/src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue @@ -690,6 +690,10 @@ export default { :deep(.checkbox-radio-switch__icon) > * { color: var(--color-main-text) } + &.checkbox-content, + &.checkbox-content :deep(*:not(a)) { + cursor: default !important; + } } &:not(&--disabled, &--checked):focus-within &__content,