Skip to content

Commit 3ca3d95

Browse files
heyoubclaude
authored andcommitted
fix(web): let the mobile sheet nav scroll when it overflows
The sheet is a full-height flex column with no scroll container, so a nav list taller than the viewport was simply unreachable below the fold. That was already latent; adding the GitHub row makes it one row likelier on short phones. min-h-0 lets the flex child shrink at all, and overflow-y-auto gives it somewhere to put the excess. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent a768f87 commit 3ca3d95

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/AppHeader.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,11 @@ export function AppHeader() {
288288
<SheetHeader className="pb-0">
289289
<SheetTitle>Menu</SheetTitle>
290290
</SheetHeader>
291+
{/* min-h-0 + overflow-y-auto so the list stays reachable on
292+
short viewports instead of overflowing the panel. */}
291293
<nav
292294
aria-label="Mobile navigation"
293-
className="flex flex-col gap-2 px-4"
295+
className="flex flex-col gap-2 px-4 min-h-0 overflow-y-auto"
294296
>
295297
<NavLink
296298
to="/projects"

0 commit comments

Comments
 (0)