fix: separator background color (#295)

This commit is contained in:
trolladam 2024-01-20 12:42:36 +01:00 committed by GitHub
parent 50586487d5
commit f41642f5d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const props = defineProps<SeparatorProps & { class?: string }>()
<template> <template>
<Separator <Separator
: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

@ -8,7 +8,7 @@ const props = defineProps<SeparatorProps & { class?: string }>()
<template> <template>
<Separator <Separator
: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',
]" ]"
/> />