From 9248562367c4abb05b0fb78d8d9a12cb40850601 Mon Sep 17 00:00:00 2001 From: Regan Bell Date: Mon, 3 Aug 2026 22:23:23 -0700 Subject: [PATCH] web-ui: give the session top bar its own grid row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The session top bar added a third child to .custom-chat-shell, but the grid kept two rows (minmax(0,1fr) auto): the auto row swallowed the height, the header's row collapsed to 0px, and the message scroller painted over the bar — overlapping ghost text and unclickable header buttons. Rows are now auto minmax(0,1fr) auto, with the card/strip glance tiers (which render no top bar) keeping the old two-row template. --- plugins/web-ui/src/shell.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/web-ui/src/shell.css b/plugins/web-ui/src/shell.css index 46e636b9f..dd5b6da98 100644 --- a/plugins/web-ui/src/shell.css +++ b/plugins/web-ui/src/shell.css @@ -978,9 +978,14 @@ a.chat-row-open { min-height: 0; min-width: 0; display: grid; - grid-template-rows: minmax(0, 1fr) auto; + grid-template-rows: auto minmax(0, 1fr) auto; position: relative; } +/* Glance tiers render no top bar: two children (glance, dock), two rows. */ +[data-density="card"] .custom-chat-shell, +[data-density="strip"] .custom-chat-shell { + grid-template-rows: minmax(0, 1fr) auto; +} .drop-overlay { position: absolute; inset: 0;