fix: reset xterm position to relative on mobile to prevent layout issues

This commit is contained in:
Fusion
2026-05-24 18:13:28 +02:00
parent 4de312c170
commit ca22e9c9d2
+6 -12
View File
@@ -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 */