From bbbc982be1732028081f1aa53ccfdf85c30fd158 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 5 Jul 2023 14:23:25 +0800 Subject: [PATCH] =?UTF-8?q?style(editor):=20=E6=8B=96=E5=8A=A8=E6=94=B9?= =?UTF-8?q?=E5=8F=98=E5=B7=A5=E4=BD=9C=E5=8C=BA=E5=B7=A6=E5=8F=B3=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E5=A4=A7=E5=B0=8F=E6=97=B6=E4=B8=8D=E8=A6=81=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/theme/framework.scss | 3 --- packages/editor/src/theme/layout.scss | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/editor/src/theme/framework.scss b/packages/editor/src/theme/framework.scss index 71009dde..94779931 100644 --- a/packages/editor/src/theme/framework.scss +++ b/packages/editor/src/theme/framework.scss @@ -4,10 +4,7 @@ width: 100%; &-content { - width: 100%; height: calc(100% - #{$--nav-height}); - display: flex; - justify-self: space-between; } &-framework-center { diff --git a/packages/editor/src/theme/layout.scss b/packages/editor/src/theme/layout.scss index d78da744..265f2ca8 100644 --- a/packages/editor/src/theme/layout.scss +++ b/packages/editor/src/theme/layout.scss @@ -2,4 +2,8 @@ width: 100%; display: flex; justify-self: space-between; + + &:has(.m-editor-resizer-draging) { + overflow: hidden; + } }