mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Styling tweaks for demo
* Make terminal take 2/3 of the width, and the options etc get 1/3 * Remove options height limit, which could lead to annoying nested verical scroll regions. (An inner region for the options inside a scrollable viewport.)
This commit is contained in:
+6
-4
@@ -9,8 +9,7 @@ h1 {
|
||||
}
|
||||
|
||||
#terminal-container {
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
height: 60%;
|
||||
margin: 0 auto;
|
||||
padding: 2px;
|
||||
}
|
||||
@@ -51,6 +50,11 @@ pre {
|
||||
/* max-height: 80vh;
|
||||
overflow-y: auto; */
|
||||
width: 100%;
|
||||
min-width: 100px;
|
||||
}
|
||||
div:first-of-type.grid {
|
||||
flex: 2;
|
||||
height: 60vh;
|
||||
}
|
||||
.tab {
|
||||
overflow: hidden;
|
||||
@@ -86,8 +90,6 @@ pre {
|
||||
padding: 6px 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-top: none;
|
||||
max-height: 100vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
#texture-atlas-zoom:checked + label + #texture-atlas canvas {
|
||||
|
||||
Reference in New Issue
Block a user