fix(ui): product logo heads the phone section sheet
This commit is contained in:
1 parent
0749f45054
commit
fd30a24079
1 file changed
+3
-1
@@ -6,6 +6,8 @@ import { Menu } from "@lucide/vue";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Sheet, SheetContent, SheetHeader, SheetTitle, SheetTrigger } from "@/components/ui/sheet";
|
||||
import { activeNavPath, navTree, type NavEntry } from "@/lib/nav";
|
||||
import BrandName from "./BrandName.vue";
|
||||
import Logo from "./Logo.vue";
|
||||
|
||||
/** The section list at phone width, where the strip has no room to show a
|
||||
* label beside the current page. Sheet rather than a dropdown: it traps focus,
|
||||
@@ -31,7 +33,7 @@ watch(() => route.path, () => (open.value = false));
|
||||
</SheetTrigger>
|
||||
<SheetContent side="left" class="w-64 gap-0 p-0">
|
||||
<SheetHeader class="border-b px-4 py-3">
|
||||
<SheetTitle class="text-sm">Sections</SheetTitle>
|
||||
<SheetTitle class="flex items-center gap-2"><Logo /><BrandName /></SheetTitle>
|
||||
</SheetHeader>
|
||||
<nav aria-label="Sections" class="flex flex-col gap-0.5 p-2">
|
||||
<RouterLink
|
||||
|
||||
Reference in new issue
Block a user