Fix terminal left clipping — consolidate duplicate padding

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.
This commit is contained in:
2026-04-16 00:00:00 +01:00
parent 8a9c17046d
commit d84f3e3f10
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
.terminal-container { .terminal-container {
position: absolute; position: absolute;
inset: 0; inset: 0;
padding: 3px; padding: 0;
} }
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
+2 -3
View File
@@ -62,8 +62,7 @@
flex: 1; flex: 1;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
/* Slight padding so terminal text doesn't hug edges */ padding: 0;
padding: var(--space-1);
} }
/* xterm.js overrides for consistent look */ /* xterm.js overrides for consistent look */
@@ -72,7 +71,7 @@
flex: 1; flex: 1;
height: 100%; height: 100%;
min-height: 0; min-height: 0;
padding: var(--space-1); padding: 3px 0 0 3px;
} }
.terminal-container .xterm-screen, .terminal-container .xterm-screen,