From 1cbeff98a4cb8662ec8d66a440c0c850d81b7f6b Mon Sep 17 00:00:00 2001 From: jiatianqi Date: Mon, 24 Oct 2022 14:53:12 +0800 Subject: [PATCH] =?UTF-8?q?amis-saas-7665=20[Improvement.]=20=E3=80=8Cpage?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E3=80=8D=E5=BD=93=E5=B1=95=E7=A4=BA=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E4=BB=85=E6=9C=89[=E5=86=85=E5=AE=B9=E5=8C=BA]=20?= =?UTF-8?q?=E4=B9=9F=E5=B1=95=E7=A4=BA=E5=A4=B4=E9=83=A8=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I134fbf5b1e624330c234e8f0064e86fda8add805 --- packages/amis-editor-core/scss/editor.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/amis-editor-core/scss/editor.scss b/packages/amis-editor-core/scss/editor.scss index 4737dbcdc..2e09aae2e 100644 --- a/packages/amis-editor-core/scss/editor.scss +++ b/packages/amis-editor-core/scss/editor.scss @@ -1208,11 +1208,6 @@ align-items: center; visibility: hidden; - // 只有一个region时不显示头部标签 - &.is-only-child-region { - visibility: hidden !important; - } - button { cursor: pointer; display: inline-flex; @@ -1247,6 +1242,11 @@ margin: 0 6px; } } + // 区域仅有 [内容区],也展示头部标签 + > div.region-tip.is-only-child-region { + top: -19px; + border-radius: 3px 3px 0 0; + } // 兼容方案,避免便签被遮挡 &.region-label-within > .region-tip {