diff --git a/src/renderer/styles.css b/src/renderer/styles.css index 458c4fb..0f76772 100644 --- a/src/renderer/styles.css +++ b/src/renderer/styles.css @@ -235,8 +235,9 @@ body.in-session #sidebar { display: none; } .session .sbar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--bg-2); border-bottom: 1px solid var(--border); flex: none; } .session .sbar .info { color: var(--muted); font-size: 12px; margin-right: auto; display: flex; gap: 8px; align-items: center; overflow: hidden; white-space: nowrap; } .session .term-wrap { flex: 1; position: relative; min-height: 0; display: flex; } -.session .term { flex: 1; padding: 8px 0 4px 10px; min-width: 0; } -.session .term .xterm { height: 100%; } +.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 .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; }