Revert "style(config): allow editor wrapper to grow flexibly with min-height"

This reverts commit 1d8729ec53.
This commit is contained in:
Supra4E8C
2026-01-03 15:54:48 +08:00
parent f5c1ef36ce
commit 84b219957e

View File

@@ -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).