From d84f3e3f10436b4dee896b0ad1d4b62b7e7b5e2c Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Thu, 16 Apr 2026 00:00:00 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20terminal=20left=20clipping=20=E2=80=94=20?= =?UTF-8?q?consolidate=20duplicate=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed conflicting padding from layout.css and terminal.css that stacked to ~11px. Now a single 3px top+left padding is applied directly on the .xterm element, keeping text visible and tidy. --- frontend/src/css/layout.css | 2 +- frontend/src/css/terminal.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/css/layout.css b/frontend/src/css/layout.css index 96eca15..504aa62 100644 --- a/frontend/src/css/layout.css +++ b/frontend/src/css/layout.css @@ -94,7 +94,7 @@ .terminal-container { position: absolute; inset: 0; - padding: 3px; + padding: 0; } /* ----------------------------------------------------------------------- diff --git a/frontend/src/css/terminal.css b/frontend/src/css/terminal.css index 383ddcc..9d0c7f3 100644 --- a/frontend/src/css/terminal.css +++ b/frontend/src/css/terminal.css @@ -62,8 +62,7 @@ flex: 1; position: relative; overflow: hidden; - /* Slight padding so terminal text doesn't hug edges */ - padding: var(--space-1); + padding: 0; } /* xterm.js overrides for consistent look */ @@ -72,7 +71,7 @@ flex: 1; height: 100%; min-height: 0; - padding: var(--space-1); + padding: 3px 0 0 3px; } .terminal-container .xterm-screen,