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:
@@ -94,7 +94,7 @@
|
||||
.terminal-container {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
padding: 3px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user