From 46b1ca5874aee78350035b773f96025c4ef15d70 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Wed, 13 May 2026 00:22:42 -0400 Subject: [PATCH] fix(preview): clip drawer behind .content with position:relative+overflow:hidden The drawer was bleeding its close-X out of the window's left side because .content (its containing block) had display:grid but no position:relative, so absolute-positioned children anchored to .window or further up the tree. Adding position:relative makes the drawer anchor to .content, and overflow:hidden clips the off-screen translateX(100%) so its content doesn't render outside the bounds. --- docs/preview/redesigned-mainwindow.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/preview/redesigned-mainwindow.html b/docs/preview/redesigned-mainwindow.html index a2e7558..3bcde25 100644 --- a/docs/preview/redesigned-mainwindow.html +++ b/docs/preview/redesigned-mainwindow.html @@ -174,6 +174,8 @@ display: grid; grid-template-rows: 44px auto 1fr auto 32px; min-width: 0; + position: relative; + overflow: hidden; } .titlebar { display: grid;