diff --git a/packages/ui/src/components/base/ButtonStyled.vue b/packages/ui/src/components/base/ButtonStyled.vue index f7502fb88..b4d67bca1 100644 --- a/packages/ui/src/components/base/ButtonStyled.vue +++ b/packages/ui/src/components/base/ButtonStyled.vue @@ -277,20 +277,20 @@ const fontSize = computed(() => { flex-shrink: 0; } - &[disabled], + &[disabled]:not([disabled='false']), &[disabled='true'], &.disabled, &.looks-disabled { @apply opacity-50; } - &[disabled], + &[disabled]:not([disabled='false']), &[disabled='true'], &.disabled { @apply cursor-not-allowed; } - &:not([disabled]):not([disabled='true']):not(.disabled) { + &:not([disabled]:not([disabled='false'])):not([disabled='true']):not(.disabled) { @apply hover:brightness-[--hover-brightness] focus-visible:brightness-[--hover-brightness] hover:bg-[--_hover-bg] hover:text-[--_hover-text] focus-visible:bg-[--_hover-bg] focus-visible:text-[--_hover-text]; &:hover svg:first-child, @@ -309,7 +309,7 @@ const fontSize = computed(() => { > *:first-child > *:first-child > :is(button, a, .button-like):first-child { - &:not([disabled]):not([disabled='true']):not(.disabled) { + &:not([disabled]:not([disabled='false'])):not([disabled='true']):not(.disabled) { @apply active:scale-95; } }