mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
The menu was styled like the Admin Panel's but did not sit like it. The Admin Panel gets that for free: .setting-content is OUTSIDE .wrapper, absolutely positioned at full width and height, so its menu is against the left edge and runs to the bottom. All Boards is in normal flow inside .wrapper, which is width: calc(100% - 28px); margin: 0 auto - so the menu floated 14px in from an edge it is meant to look attached to, and stopped wherever its content did. This page opts out of that inset, and takes its height from 100vh minus --wekan-header-height - the height the header MEASURES itself to be, because the bar wraps to a second row and is not one fixed number. A MINIMUM, not a fixed height: a page with more boards than fit still grows past it, and grid items stretch to the row by default, so the menu fills whichever is taller without asking for a height of its own. The phone rules already override .boards-layout's height through a higher specificity selector, so the inner scroller they set up is untouched. The guard reads the .wrapper declaration across layouts.css rather than inside the first block it finds: .wrapper is declared more than once there, and the first block carries only the comment explaining the sizes. Thanks to xet7 !