From cdaef6cece141ce4403105c91408b7aed4064f68 Mon Sep 17 00:00:00 2001 From: hoce1n Date: Mon, 10 Aug 2026 14:14:22 +0000 Subject: [PATCH] fix(workbench): cap editor and output panel heights so console stays in view Replaces the unbounded min-height on the editor and output column wrappers with a fixed cap (h-[300px] lg:h-[520px]). A long snippet no longer stretches the grid row and pushes the console output out of the viewport; each panel now scrolls internally via the CodeMirror scroller and the overflow-auto log/lane containers. The CodeEditor minHeight is lowered (220px->140px mobile, 440px->380px desktop) so the editor host fits inside the fixed box without clipping step-mode controls. Co-authored-by: monkeycode-ai --- src/components/devtools/Workbench.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/devtools/Workbench.tsx b/src/components/devtools/Workbench.tsx index 4b2ee8b..f2f3905 100644 --- a/src/components/devtools/Workbench.tsx +++ b/src/components/devtools/Workbench.tsx @@ -132,7 +132,7 @@ export default function Workbench({ code, onCodeChange, view }: Props) { return (
{/* editor column */} -
+
@@ -318,7 +318,7 @@ export default function Workbench({ code, onCodeChange, view }: Props) {
{/* output column */} -
+
{view === "console" ? : } {view === "console" ? "Console output" : "Event loop — live instrumentation"}