fix: group mobile drawer sections (remove bottom-pinned void) #28
Reference in New Issue
Block a user
Delete Branch "fix/mobile-drawer-spacing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MOBILE-SHELL-PARITY follow-up. In the mobile PrimeVue drawer,
SidebarNav'sflex-1filled the full-height panel and pushedWorkspaceSwitcherto the very bottom, leaving a large empty void between the menu and the switcher (confirmed via a Storybook screenshot at 375px).Fix
SidebarNav.vue— newgrow?: booleanprop (defaulttrueviawithDefaults). Root<nav>isflex-1when grow (desktop bottom-anchor), elseflex-initial.flex-initial(notflex-none) keepsflex-shrink: 1, so a future long menu shrinks + scrolls internally rather than clipping the switcher out of theoverflow-hiddencontent.AppSidebar.vue— the mobile<Drawer>passes:grow="false"→ logo + menu + switcher group at the top. The desktop<aside>passes no grow (defaults true) → unchanged.AppSidebar.spec.ts— SidebarNav stub gainsgrow; +2 assertions (mobile passesgrow=false, desktop does not)..storybook/preview.ts(separate commit) — registerv2-dashboardin the story router; the v2 nav RouterLink threw "No match for" and broke every AppSidebar story, blocking visual verification.Gate
flex-initial.🤖 Generated with Claude Code