fix: nav sheet background color in small size device
This commit is contained in:
parent
3eaef4a748
commit
856e35adf8
|
|
@ -34,6 +34,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
|
||||||
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
||||||
:style="{
|
:style="{
|
||||||
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
|
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
|
||||||
|
'background-color': 'var(--sidebar-background-color, #fff)'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="flex h-full w-full flex-col">
|
<div class="flex h-full w-full flex-col">
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
|
||||||
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
class="w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
||||||
:style="{
|
:style="{
|
||||||
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
|
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
|
||||||
|
'background-color': 'var(--sidebar-background-color, #fff)'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="flex h-full w-full flex-col">
|
<div class="flex h-full w-full flex-col">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user