From 92eaaddceff6c90d2b48a53ee077002981db9c8f Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Tue, 3 Feb 2026 12:38:43 +0300 Subject: [PATCH] style(config): update styles for main and config sections in HTML --- www/config.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/www/config.html b/www/config.html index 83c44c7b..090ae21b 100644 --- a/www/config.html +++ b/www/config.html @@ -9,10 +9,16 @@ height: 100%; } + main { + flex: 0 0 auto; + padding: 10px 0; + } + #config { flex: 1 1 auto; - border-top: 1px solid #ccc; + border-top: 1px solid var(--border-color); min-height: 300px; + overflow: hidden; } @@ -1177,8 +1183,6 @@ }; const layout = () => { - const top = container.getBoundingClientRect().top; - container.style.height = `${Math.max(200, window.innerHeight - top)}px`; editor.layout(); }; window.addEventListener('resize', layout);