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 {
|
#terminal-container {
|
||||||
width: 800px;
|
height: 60%;
|
||||||
height: 450px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
@@ -51,6 +50,11 @@ pre {
|
|||||||
/* max-height: 80vh;
|
/* max-height: 80vh;
|
||||||
overflow-y: auto; */
|
overflow-y: auto; */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
div:first-of-type.grid {
|
||||||
|
flex: 2;
|
||||||
|
height: 60vh;
|
||||||
}
|
}
|
||||||
.tab {
|
.tab {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -86,8 +90,6 @@ pre {
|
|||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
max-height: 100vh;
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#texture-atlas-zoom:checked + label + #texture-atlas canvas {
|
#texture-atlas-zoom:checked + label + #texture-atlas canvas {
|
||||||
|
|||||||
Reference in New Issue
Block a user