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>()
1717<template >
1818 <Switch v-model =" enabled" :disabled >
1919 <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" />
2121 </template >
2222 </Switch >
2323</template >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
2727 )"
2828 >
2929 <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')"
3131 >
3232 <slot name =" thumb" />
3333 </SwitchThumb >
You can’t perform that action at this time.
0 commit comments