diff --git a/packages/amis-editor-core/scss/editor.scss b/packages/amis-editor-core/scss/editor.scss index e3a332ec0..ac97f38ca 100644 --- a/packages/amis-editor-core/scss/editor.scss +++ b/packages/amis-editor-core/scss/editor.scss @@ -1430,7 +1430,7 @@ > .region-tip { position: absolute; right: 50%; - top: -19px; + top: -17px; transform: translateX(50%); background: $Editor-rgion-bg; // $Editor-rgion-bg; color: #fff; @@ -1482,11 +1482,11 @@ } // 兼容方案,避免便签被遮挡: 区域仅有 [内容区],头部标签放内部展示 - > div.region-tip.is-only-child-region, - &.region-label-within > .region-tip { - top: 1px; - border-radius: 0 0 3px 3px; - } + // > div.region-tip.is-only-child-region, + // &.region-label-within > .region-tip { + // top: 1px; + // border-radius: 0 0 3px 3px; + // } // 高亮区域hover态 &.region-hover { diff --git a/packages/amis-editor-core/src/component/RegionHLBox.tsx b/packages/amis-editor-core/src/component/RegionHLBox.tsx index 1e75ef2d2..c89b24a72 100644 --- a/packages/amis-editor-core/src/component/RegionHLBox.tsx +++ b/packages/amis-editor-core/src/component/RegionHLBox.tsx @@ -52,8 +52,8 @@ export default observer(function (props: HighlightBoxProps) { isDragEnter ? 'is-dragenter' : '', store.planDropId === id ? 'region-can-be-drop' : '', !isOnlyChildRegion && isHiglightHover ? 'region-hover' : '', - isOnlyChildRegion || isHiglight ? 'is-highlight' : '', - dx < 87 && dy < 21 && node.x < 190 ? 'region-label-within' : '' + isOnlyChildRegion || isHiglight ? 'is-highlight' : '' + // dx < 87 && dy < 21 && node.x < 190 ? 'region-label-within' : '' )} style={{ width: node.w,