Skip to content

The agent that grows with you

fix(desktop): floating sidebar overlays keep an opaque background under glass

Brooklyn Nicholsonb8850e17b5ff
diff --git a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
index 02ef04adaa9..3f11c0e7970 100644
--- a/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
+++ b/apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx
@@ -150,6 +150,10 @@ export function NarrowOverlays() {
? 'left-0 border-r border-(--ui-stroke-secondary)'
: 'right-0 border-l border-(--ui-stroke-secondary)'
)}
+ // Floats OVER the layout, so under glass its surface must mask the
+ // panes beneath it — a see-through overlay reads as text bleeding
+ // through text. Contract: `[data-glass-opaque]` in styles.css.
+ data-glass-opaque=""
onMouseLeave={() => setReveal(current => (current?.pinned ? current : null))}
// Match the pane's docked width (sessions ~237px, files its rail
// width) instead of a fat fixed 20rem — capped for tiny screens.