From 1d8729ec53a48ddaead9e4ea9cdb83e049f40662 Mon Sep 17 00:00:00 2001 From: Supra4E8C Date: Sat, 3 Jan 2026 15:30:40 +0800 Subject: [PATCH] style(config): allow editor wrapper to grow flexibly with min-height --- src/pages/ConfigPage.module.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/ConfigPage.module.scss b/src/pages/ConfigPage.module.scss index aa5abb0..a8ef3a6 100644 --- a/src/pages/ConfigPage.module.scss +++ b/src/pages/ConfigPage.module.scss @@ -133,8 +133,8 @@ .editorWrapper { width: 100%; - flex: 0 0 auto; - height: clamp(360px, 60vh, 920px); + flex: 1 1 auto; + min-height: clamp(360px, 60vh, 920px); border: 1px solid var(--border-color); border-radius: $radius-lg; overflow: hidden; @@ -142,7 +142,7 @@ --floating-controls-height: 0px; @supports (height: 100dvh) { - height: clamp(360px, 60dvh, 920px); + min-height: clamp(360px, 60dvh, 920px); } // Floating search toolbar on top of the editor (but not covering content).