Feature Updates
* Style Fixes
This commit is contained in:
63
hg.css
63
hg.css
@@ -384,65 +384,90 @@ canvas {
|
|||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.terminal-window {
|
.terminal-window {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
|
height: 100dvh; /* Dynamic viewport height for better mobile support */
|
||||||
max-width: none;
|
max-width: none;
|
||||||
max-height: none;
|
max-height: none;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
min-height: 100dvh;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-overlay {
|
.terminal-overlay {
|
||||||
background: #c0c0c0;
|
background: #c0c0c0;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-content {
|
.terminal-content {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
height: calc(100% - 24px); /* Account for header height */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
#terminal-output {
|
#terminal-output {
|
||||||
|
flex: 1;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
font-size: 11px;
|
font-size: 14px;
|
||||||
padding: 4px 6px;
|
padding: 8px;
|
||||||
|
overflow-y: auto;
|
||||||
|
min-height: 0; /* Allow flex shrinking */
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-line {
|
.terminal-line {
|
||||||
font-size: 11px;
|
font-size: 14px;
|
||||||
line-height: 1.2;
|
line-height: 1.3;
|
||||||
margin-bottom: 1px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-input-line {
|
.terminal-input-line {
|
||||||
padding: 3px 6px;
|
flex-shrink: 0; /* Prevent input line from shrinking */
|
||||||
min-height: 20px;
|
padding: 8px;
|
||||||
|
min-height: 44px; /* iOS minimum touch target */
|
||||||
border: 2px inset #c0c0c0;
|
border: 2px inset #c0c0c0;
|
||||||
background: #c0c0c0;
|
background: #c0c0c0;
|
||||||
|
position: relative;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-prompt {
|
.terminal-prompt {
|
||||||
font-size: 11px;
|
font-size: 14px;
|
||||||
margin-right: 4px;
|
margin-right: 6px;
|
||||||
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-input {
|
.terminal-input {
|
||||||
font-size: 11px;
|
font-size: 16px; /* Prevent zoom on iOS */
|
||||||
line-height: 1.2;
|
line-height: 1.3;
|
||||||
|
min-height: 24px;
|
||||||
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-header {
|
.terminal-header {
|
||||||
min-height: 20px;
|
flex-shrink: 0;
|
||||||
padding: 2px 0;
|
min-height: 24px;
|
||||||
|
padding: 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-title {
|
.terminal-title {
|
||||||
font-size: 12px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.terminal-close {
|
.terminal-close {
|
||||||
width: 20px;
|
width: 24px;
|
||||||
height: 18px;
|
height: 20px;
|
||||||
font-size: 12px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user