Repository navigation
fix: keep boards inside column pages beside contents maps - #1846
leaf-agent wants to merge 3 commits into
Conversation
leaf-agent
left a comment
There was a problem hiding this comment.
The board’s new page capacity can make it wider than a framed container. A 400px inline-size container on a 1120px column page renders a four-column board at 720px, past the frame’s right edge. Keep the nearest-container cap alongside the page cap so the columns scroll within the board.
The page-room cap fixed boards beside contents maps but replaced the nearest size-container cap. In a 400px framed box on a wide column page, the inherited page room set a 720px board floor and made it escape the frame. Keep both caps so the board scrolls internally. The new browser regression failed before this change and passes after it.
6ed4b56 to
2e31430
Compare
leaf-agent
left a comment
There was a problem hiding this comment.
A board in an Ask's evidence track can still claim page-wide space and cover the answers. At 1440px, a six-column board ended at 1172px while its evidence track ended at 940px and the answers began at 962px. The board minimum reads --lf-page-room even though the Ask grants the evidence a smaller track; 100cqi is the Ask's width there. The allocation already expressed by --lf-reach needs to bound the board's floor, with framed holders granting their own width. #1851 includes that broader allocation fix and also closes #1845, so this PR now overlaps it.
A column page with a contents map gave wide widgets the shell width even after the map claimed part of the left margin. The board also used that shell width as its minimum-width cap, so at 816px it extended 24px beyond the page gutter. The column Layout now derives page capacity from its reading width and free space on each side, and the board uses that capacity for its minimum. Its columns scroll inside the board when they need more room.
The regression failed before the change at 816px (board right edge 840px in an 816px viewport) and passes after it at 816, 880, and 1120px. Selected wide-widget, framed-box, board-scrolling, and render-gate tests also pass.
Closes #1845 — automated triage