From f104c80731cffcb420b133dee624e19598a8f6dc Mon Sep 17 00:00:00 2001 From: allenve Date: Wed, 20 Dec 2023 17:24:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20editor=20=E8=AE=BE=E8=AE=A1=E5=99=A8=20?= =?UTF-8?q?page=20=E6=92=91=E5=BC=80=E7=94=BB=E5=B8=83=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor-core/scss/editor.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/amis-editor-core/scss/editor.scss b/packages/amis-editor-core/scss/editor.scss index 3363e3824..dce5ee479 100644 --- a/packages/amis-editor-core/scss/editor.scss +++ b/packages/amis-editor-core/scss/editor.scss @@ -229,8 +229,12 @@ z-index: 0; } - > .cxd-Page > .cxd-Page-content { - height: auto; + > .cxd-Page { + // 这里主要是为了确保能撑开画布区 + display: flex; + > .cxd-Page-content { + height: auto; + } } } }