fix(layout): main sidebar nav scrolls when it overflows #76
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/main-sidebar-scroll"
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?
The main app sidebar nav could overflow the viewport (many nav groups, or a short window), but the scroll lived only on the desktop
aside. The mobile drawerasidehas no overflow of its own and the shared SidebarContent did not put scroll on the nav, so the lower groups (Analytics / Admin) were unreachable.Make the
navelement the scroll container (flex-1 + min-h-0 + overflow-y-auto + overscroll-contain + scrollbar-thin) so it scrolls in both the desktop sidebar and the mobile drawer, with the version footer pinned below. Standard nested-flex scroll pattern.Needs a gate run + a quick visual check at a short viewport / mobile width.