- Ya
- 2 Septemba 2026, 05:13 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 8f77f08
The offline-banner fix stacked MessageBrowser's root into a flex-col and moved the three mail columns into a row of their own. That row was `flex flex-1 min-w-0` -- and `flex-1` alone cannot make a flex item shorter than its contents, because min-height defaults to `auto`, which is the content's minimum height. So the row sized itself to the folder tree and the message list stacked out at full length: 4389px inside a 757px box, measured in a browser against the real class chain (the nav content box, .kamo-page-scroll, PageWrapper, the sidebar, the list and the reading pane). What the member saw is the whole page carrying one scrollbar. The row overflowed the root, the root's own scrollbar dragged the entire mail client up and down as a single block, and every pane inside it -- folder tree, message list, reading pane -- was sized to its content and stopped scrolling on its own. The mail client stops being three columns and becomes one long document. `min-h-0` restores the pre-regression layout exactly: root 757 and fitting, all three panes scrolling by themselves. The comment says so in the file, because this reads like a stray utility class and is not one. The guard is in the test that already owns this element's shape. Adding those lines pushed the wrapper past the 260-character window the existing assertions read it through -- which would have had them quietly inspecting the comment instead of the tag -- so the tag is now found from its comment rather than by counting characters.