From eec7f160d9ef15701d4af553c010598f41980f19 Mon Sep 17 00:00:00 2001 From: Reimar Date: Fri, 10 Oct 2025 12:13:15 +0200 Subject: [PATCH] fix console overflow for reals --- index.html | 9 +++------ style.css | 10 +++++++--- 2 files changed, 10 insertions(+), 9 deletions(-) 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 {