mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 14:16:28 +03:00
The min-height: calc(100vh - var(--site-header-height)) added earlier so the sticky sidebar's border-right divider reaches the bottom of the viewport on desktop was applying on mobile too. On mobile the sidebar is static (not sticky) and collapses behind a toggle, so the min-height reserved a full viewport of empty space above the main content whenever the menu was collapsed. The result: opening /anti-patterns on mobile showed just the 'Sections' dropdown in the first screen, then a blank viewport, then the rules below the fold. Wrap the min-height rule in a min-width: 921px media query so it only applies on desktop, matching the breakpoint that switches the layout to the two-column grid.