Terminal: schwarzen Rand im Innenabstand entfernt (xterm-viewport transparent, Hintergrund in Terminalfarbe)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 18:36:51 +02:00
co-authored by Claude Opus 5.5
parent 797722c510
commit e8fefe4ebe
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -238,6 +238,7 @@ body.in-session #sidebar { display: none; }
.session .term { flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
/* Innenabstand am .xterm-Element: FitAddon zieht nur dessen Padding ab (am Elternelement würde es mitgezählt) */
.session .term .xterm { height: 100%; padding: 8px 0 4px 10px; }
.session .term .xterm-viewport { background-color: transparent !important; } /* sonst schwarzer Rand im Innenabstand */
.session .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; background: var(--overlay); z-index: 3; }
.session .overlay .spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
.session .overlay .msg { color: var(--muted); max-width: 520px; text-align: center; }