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 {
position: absolute;
inset: 0;
padding: 3px;
padding: 0;
}
/* -----------------------------------------------------------------------
+2 -3
View File
@@ -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,