From 455d449d1e5ed36cc5125db191f3ef862062b927 Mon Sep 17 00:00:00 2001 From: a2nr Date: Fri, 24 Jul 2026 14:03:44 +0700 Subject: [PATCH] fix: circuit tab full height in playground (override fixed 550px) --- frontend/src/routes/playground/+page.svelte | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/playground/+page.svelte b/frontend/src/routes/playground/+page.svelte index daa28b5..beee530 100644 --- a/frontend/src/routes/playground/+page.svelte +++ b/frontend/src/routes/playground/+page.svelte @@ -212,10 +212,24 @@ } .pg-circuit-wrap { - width: 100%; - height: 100%; - overflow: auto; + flex: 1; + min-height: 0; + display: flex; + flex-direction: column; padding: 8px; + overflow: hidden; + } + + /* Override CircuitEditor agar fill flex area */ + .pg-content :global(.circuit-container) { + flex: 1; + min-height: 0; + } + + .pg-content :global(.circuit-wrapper) { + flex: 1; + height: auto; + min-height: 0; } .pg-code-wrap {