From b80562a669ff834a2b02fb60eb29c5f921bdeb87 Mon Sep 17 00:00:00 2001 From: Augustin Date: Fri, 24 Apr 2026 21:13:20 +0200 Subject: [PATCH] fix(terminal): use absolute positioning for content panels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit height:100% on .content>div fails because .content uses flex:1 without explicit height. Switch to position:absolute;inset:0 which correctly fills the content area and gives xterm proper container dimensions for fitAddon. 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush --- web/src/styles/global.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/styles/global.css b/web/src/styles/global.css index 7308dc1..63d34f6 100644 --- a/web/src/styles/global.css +++ b/web/src/styles/global.css @@ -155,7 +155,7 @@ input::placeholder { color: var(--text-disabled); } .header-clock { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; } .content { flex: 1; overflow: hidden; position: relative; } -.content > div { height: 100%; } +.content > div { position: absolute; inset: 0; overflow: hidden; } .tab-hidden { display: none; } .statusbar {