fix: nav sheet background color in small size device

This commit is contained in:
kgurungsein 2024-12-21 23:15:01 +00:00
parent 3eaef4a748
commit 856e35adf8
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
:style="{
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
'background-color': 'var(--sidebar-background-color, #fff)'
}"
>
<div class="flex h-full w-full flex-col">

View File

@ -34,6 +34,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
:style="{
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
'background-color': 'var(--sidebar-background-color, #fff)'
}"
>
<div class="flex h-full w-full flex-col">