Merge branch 'dev' of ssh://git.commumedia.org:2222/alex/headquarter into dev

This commit is contained in:
2026-05-24 12:29:44 +00:00
+39 -13
View File
@@ -2594,31 +2594,26 @@ a.nav-item,
padding: var(--space-2); padding: var(--space-2);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden;
} }
.terminal-container .xterm { .terminal-container .xterm {
flex: 1; flex: 1;
min-height: 0; min-height: 0;
width: 100%; width: 100%;
} height: 100%;
.terminal-container .xterm-viewport {
width: 100% !important;
height: 100% !important;
}
.terminal-container .xterm-screen {
width: 100% !important;
}
.terminal-container .xterm-viewport {
background: #1e1e1e !important;
} }
.terminal-container canvas { .terminal-container canvas {
display: block; display: block;
} }
/* Mobile terminal container - no padding to maximize space */
.terminal-wrapper.mobile .terminal-container {
padding: 0;
}
/* Ensure xterm viewport fills container properly */
/* Responsive terminal */ /* Responsive terminal */
@media (max-width: 767px) { @media (max-width: 767px) {
.terminal-page { .terminal-page {
@@ -3192,6 +3187,37 @@ a.nav-item,
flex-direction: column; flex-direction: column;
} }
/* Terminal wrapper - explicit height for xterm.js */
.terminal-wrapper.mobile {
border: none;
border-radius: 0;
flex: 1;
min-height: 0;
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
}
.terminal-wrapper.mobile .terminal-container {
flex: 1;
min-height: 0;
padding: 0;
overflow: hidden;
position: relative;
}
/* Ensure xterm fills container */
.terminal-wrapper.mobile .terminal-container .xterm {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
/* Special Keys Strip */ /* Special Keys Strip */
.special-keys-strip { .special-keys-strip {
display: flex; display: flex;