fix(Sidebar): add commas
This commit is contained in:
parent
0ad3887bc2
commit
5ca3fc9a6d
|
|
@ -19,7 +19,7 @@ const props = withDefaults(defineProps<{
|
||||||
side: 'left',
|
side: 'left',
|
||||||
variant: 'sidebar',
|
variant: 'sidebar',
|
||||||
collapsible: 'offcanvas',
|
collapsible: 'offcanvas',
|
||||||
minScreen: 'md'
|
minScreen: 'md',
|
||||||
})
|
})
|
||||||
|
|
||||||
const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
|
||||||
|
|
@ -78,7 +78,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
|
||||||
variant === 'floating' || variant === 'inset'
|
variant === 'floating' || variant === 'inset'
|
||||||
? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]'
|
? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]'
|
||||||
: 'group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l',
|
: 'group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l',
|
||||||
{ 'sm:block': minScreen === 'sm', 'md:block': minScreen === 'md', 'lg:block': minScreen === 'lg' }
|
{ 'sm:block': minScreen === 'sm', 'md:block': minScreen === 'md', 'lg:block': minScreen === 'lg' },
|
||||||
props.class,
|
props.class,
|
||||||
)"
|
)"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user