From 84b219957e1c091d21244cd6072776bcf2d91e76 Mon Sep 17 00:00:00 2001 From: Supra4E8C Date: Sat, 3 Jan 2026 15:54:48 +0800 Subject: [PATCH] Revert "style(config): allow editor wrapper to grow flexibly with min-height" This reverts commit 1d8729ec53a48ddaead9e4ea9cdb83e049f40662. --- 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 a8ef3a6..aa5abb0 100644 --- a/src/pages/ConfigPage.module.scss +++ b/src/pages/ConfigPage.module.scss @@ -133,8 +133,8 @@ .editorWrapper { width: 100%; - flex: 1 1 auto; - min-height: clamp(360px, 60vh, 920px); + flex: 0 0 auto; + 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) { - min-height: clamp(360px, 60dvh, 920px); + height: clamp(360px, 60dvh, 920px); } // Floating search toolbar on top of the editor (but not covering content).