mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Adds `min-h-[calc(100dvh-12rem)]` to the `<main>` element in both `<SettingsShell>` and `<AdminShell>`. The sticky 220 px sidebar is anchored to the page scroll; previously the grid's row height tracked the section's content height, so swapping a short spinner for a long list (Thresholds: 14 rows; Sources: 14 metric tiles) jumped the page height under the sidebar and shifted the active link off-screen. The 12 rem reserve covers the global header (5 rem) + section header (~5 rem) + a small buffer, so the spinner-to-content transition no longer changes the viewport height. Short pages (`/settings/about`) still render short because `min-h` does not clamp tall content.