Skip to content

Commit ab586b7

Browse files
author
yaroslav8765
committed
fix: Make styles in one line in Button.vue
1 parent 264c045 commit ab586b7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

adminforth/spa/src/afcl/Button.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
class="afcl-button flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
66
focus:ring-4 focus:outline-none focus:ring-lightPrimary focus:ring-opacity-50 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-darkPrimary dark:focus:ring-opacity-50"
77
:class="{
8-
'cursor-default': props.disabled,
9-
'opacity-50': props.disabled,
10-
'pointer-events-none': props.disabled,
11-
'active': props.active,
12-
'brightness-200': props.active,
13-
'hover:brightness-150': props.active,
8+
'cursor-default opacity-50 pointer-events-none': props.disabled,
9+
'active brightness-200 hover:brightness-150' : props.active
1410
}"
1511
>
1612
<svg v-if="props.loader"

0 commit comments

Comments
 (0)