chore: update

This commit is contained in:
Sadegh Barati 2024-06-23 22:50:53 +03:30
parent 5a8cf51948
commit 4f483ac507
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const delegatedProps = computed(() => {
<span
v-if="props.label"
:class="cn('text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white flex justify-center items-center',
props.orientation === 'vertical' ? 'w-[1px] py-1' : 'h-[1px] px-2',
props.orientation === 'vertical' ? 'w-[1px] px-1 py-2' : 'h-[1px] py-1 px-2',
)"
>{{ props.label }}</span>
</Separator>

View File

@ -30,7 +30,7 @@ const delegatedProps = computed(() => {
:class="
cn(
'text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white flex justify-center items-center',
props.orientation === 'vertical' ? 'w-[1px] py-1' : 'h-[1px] px-2',
props.orientation === 'vertical' ? 'w-[1px] px-1 py-2' : 'h-[1px] py-1 px-2',
)
"
>{{ props.label }}</span>