Draw the main content scrollbar, in the org's colour

Fixkamo-internal
Shipped
August 14, 2026 at 6:16 PM UTC
Author
kamo
Commit
9660e05

html/body are pinned to height:100%, so the element that actually scrolls a page is the main content div in layout.tsx — and it carried no scrollbar styling at all. That leaves the platform scrollbar, which on a platform drawing overlay scrollbars means a bar painted only mid-scroll and a few pixels wide otherwise: present and draggable if you find it, invisible if you do not. Pages that already showed one (settings, chat) run their own scroller and style it themselves, which is why it only affected some pages. Declaring ::-webkit-scrollbar at all opts the element out of overlay scrollbars into a classic always-drawn one, so the width is both sizing the bar and making it exist. scrollbar-width/scrollbar-color cover Firefox and Chrome 121+. Colours derive from --color-primary but are floored against a slate: a white-label org may pick a near-white primary, and a thumb mixed from that alone would reproduce the invisible bar this fixes.

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