Skip to content

Commit 77138f6

Browse files
committed
Refine wasm console and tool panel layout
1 parent 12d82df commit 77138f6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

console/wasm/console.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#app_shell {
1212
display: grid;
13-
grid-template-columns: minmax(0, 1.6fr) minmax(24rem, 0.95fr);
13+
grid-template-columns: max-content minmax(24rem, 1fr);
1414
gap: 1.2rem;
1515
align-items: start;
1616
padding: 1rem;
@@ -19,6 +19,7 @@
1919
}
2020

2121
#console_pane {
22+
width: fit-content;
2223
min-width: 0;
2324
overflow-x: auto;
2425
display: flex;
@@ -80,7 +81,7 @@
8081

8182
#maincontent {
8283
width: 100%;
83-
padding: 5em;
84+
padding: 5em calc(5em - 30px);
8485
display: flex;
8586
align-items: flex-start;
8687
gap: 5em;
@@ -692,7 +693,7 @@
692693
color: #3f6; /* green on black */
693694
border-radius: 2px;
694695
padding: 0.5em 0.8em;
695-
height: 10.5em;
696+
height: 18em;
696697
overflow: hidden;
697698
box-shadow: inset 1px 1px 1px #181818, inset 0 -2px 1px #2a2a2a;
698699
}

0 commit comments

Comments
 (0)