fix: separator background color (#295)

This commit is contained in:
trolladam 2024-01-20 12:42:36 +01:00 committed by Sadegh Barati
parent ec233cbf5b
commit 2a7c91140b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ const delegatedProps = computed(() => {
<Separator <Separator
v-bind="delegatedProps" v-bind="delegatedProps"
:class="[ :class="[
cn('shrink-0 bg-secondary', props.class), cn('shrink-0 bg-border', props.class),
props.orientation === 'vertical' ? 'w-px h-full' : 'h-px w-full', props.orientation === 'vertical' ? 'w-px h-full' : 'h-px w-full',
]" ]"
/> />

View File

@ -16,7 +16,7 @@ const delegatedProps = computed(() => {
<Separator <Separator
v-bind="delegatedProps" v-bind="delegatedProps"
:class="[ :class="[
cn('shrink-0 bg-secondary', props.class), cn('shrink-0 bg-border', props.class),
props.orientation === 'vertical' ? 'w-px h-full' : 'h-px w-full', props.orientation === 'vertical' ? 'w-px h-full' : 'h-px w-full',
]" ]"
/> />