fix(ui): make sidebar nav scrollable on short screens

On a short viewport (e.g. 1366x768) the sidebar nav was taller than the screen
with no scroll, so items below the fold (Settings) were unreachable. Add
overflow-y:auto + min-height:0 to .nav-links (the min-height:0 lets the flex
child shrink and scroll instead of overflowing).
This commit is contained in:
ScreenTinker 2026-06-08 20:41:15 -05:00
parent 171b69233c
commit 2e14de2069

View file

@ -212,6 +212,11 @@ body {
.nav-links {
flex: 1;
padding: 12px 8px;
/* Scroll the nav when it's taller than the viewport (short screens, e.g.
1366x768) so items below the fold (Settings) stay reachable. min-height:0
is required for a flex child to shrink and scroll instead of overflowing. */
overflow-y: auto;
min-height: 0;
}
.nav-link {