fix(Switch): improve sizes

This commit is contained in:
Benjamin Canac
2024-03-22 17:44:29 +01:00
parent 2ca6973337
commit 3a89661c66
3 changed files with 24 additions and 39 deletions

View File

@@ -13,10 +13,10 @@ const checked = ref(false)
<div>
<USwitch v-model:checked="checked" disabled />
</div>
<div class="flex items-center gap-2 ml-[-96px]">
<div class="flex items-center gap-2 ml-[-36px]">
<USwitch v-for="size in sizes" :key="size" v-model:checked="checked" :size="(size as any)" />
</div>
<div class="flex items-center gap-2 ml-[-96px]">
<div class="flex items-center gap-2 ml-[-36px]">
<USwitch
v-for="size in sizes"
:key="size"