Give the expanded rail back the width the scrollbar took

Fixkamo-internal
Shipped
September 5, 2026 at 8:54 PM UTC
Author
Kamo
Commit
550c2b6

The rail is the one place where the app's scrollbar was paid for out of somebody else's layout. Expanded, it has always reserved a gutter — 20px, for the bar it used to draw itself — so when the shared 32px bar arrived, its rows quietly lost 12px they were never going to get back on their own. 248px becomes 260px, which is that 12px and not a pixel more. The content box lands at 228px, exactly where `248 less a 20px bar` used to put it, so every row, label and truncation point in the rail is drawn against the width it was designed against. Widening by the full 32px would have made the rail wider than it has ever been. The COLLAPSED rail is deliberately untouched. It asks NavOverflowScroller for `arrows` rather than `scrollbar`, which is opted out with `data-kamo-scrollbar="off"` — no bar, and therefore no gutter — so its 80px has not changed and there is nothing to give back. The arithmetic is pinned in a test rather than left in this message, because it is two numbers in two files that only mean anything together.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing