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 {