chore: update

This commit is contained in:
Sadegh Barati 2024-06-23 22:47:48 +03:30
parent 71ab613c4c
commit 5a8cf51948
2 changed files with 4 additions and 4 deletions

View File

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

View File

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