From ca22e9c9d2fc730602f0ea0ae017c33fb0570cc6 Mon Sep 17 00:00:00 2001 From: Fusion Date: Sun, 24 May 2026 18:13:28 +0200 Subject: [PATCH] fix: reset xterm position to relative on mobile to prevent layout issues --- apps/web/src/styles.css | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index eac9252..ae3ddde 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -3220,21 +3220,15 @@ a.nav-item, position: relative; } -/* xterm fills container */ +/* xterm fills container - reset position for mobile */ .terminal-wrapper.mobile .terminal-container .xterm { + position: relative !important; + top: auto !important; + left: auto !important; + right: auto !important; + bottom: auto !important; width: 100%; height: 100%; - max-height: 100%; - display: flex; - flex-direction: column; -} - -.terminal-wrapper.mobile .terminal-container .xterm-viewport { - flex: 1; - width: 100% !important; - height: 100% !important; - max-height: 100% !important; - overflow-y: auto !important; } /* Special Keys Strip */