File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ui/components/FaSwitch Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const enabled = defineModel<boolean>()
17
17
<template >
18
18
<Switch v-model =" enabled" :disabled >
19
19
<template #thumb >
20
- <FaIcon v-if =" (enabled && onIcon) || (!enabled && offIcon)" :name =" (enabled ? onIcon : offIcon) as string" class =" h-3 w -3 text-foreground" />
20
+ <FaIcon v-if =" (enabled && onIcon) || (!enabled && offIcon)" :name =" (enabled ? onIcon : offIcon) as string" class =" size -3 text-foreground" />
21
21
</template >
22
22
</Switch >
23
23
</template >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
27
27
)"
28
28
>
29
29
<SwitchThumb
30
- :class =" cn('pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 rtl:data-[state=checked]:-translate-x-5')"
30
+ :class =" cn('pointer-events-none flex-center h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 rtl:data-[state=checked]:-translate-x-5')"
31
31
>
32
32
<slot name =" thumb" />
33
33
</SwitchThumb >
You can’t perform that action at this time.
0 commit comments