diff --git a/index.html b/index.html index baca314..4c923ab 100644 --- a/index.html +++ b/index.html @@ -2,10 +2,7 @@ - + Karlkoder Playground @@ -63,10 +60,10 @@
Output
- +
-
+
Console
diff --git a/style.css b/style.css index c83ae0b..5002b36 100644 --- a/style.css +++ b/style.css @@ -35,7 +35,6 @@ section { display: flex; flex-direction: column; background-color: black; - overflow-y: auto; } section canvas { @@ -81,13 +80,17 @@ div#buttons > * > button { #canvas-area { background-color: black; - width: 480px; - height: 360px; +} + +#console-section { + min-height: 0; + flex: 0 1 100%; } #console { display: flex; flex-direction: column; + overflow-y: scroll; } #console pre { @@ -122,6 +125,7 @@ div#buttons > * > button { #editor-area { width: 100%; + overflow-y: auto; } #editor {