mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
feat: ✨ Add McDonald's mode
This commit is contained in:
parent
232abac215
commit
17d9b8fe09
5 changed files with 56 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|||
v-if="collapsible === 'none'"
|
||||
:class="cn('flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground', props.class)"
|
||||
v-bind="$attrs"
|
||||
data-component="sidebar"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
@ -57,6 +58,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|||
:data-collapsible="state === 'collapsed' ? collapsible : ''"
|
||||
:data-variant="variant"
|
||||
:data-side="side"
|
||||
data-component="sidebar"
|
||||
>
|
||||
<!-- This is what handles the sidebar gap on desktop -->
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue