fix: reset xterm position to relative on mobile to prevent layout issues
This commit is contained in:
+6
-12
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user