diff --git a/packages/plugins/schema/src/Main.vue b/packages/plugins/schema/src/Main.vue index 2302ae16f..7c57cc9e6 100644 --- a/packages/plugins/schema/src/Main.vue +++ b/packages/plugins/schema/src/Main.vue @@ -167,6 +167,7 @@ export default { justify-content: flex-end; align-items: center; .icon-wrap { + position: relative; .tiny-button { width: 40px; padding: 0; @@ -176,15 +177,15 @@ export default { line-height: 24px; } .red { - width: 5px; - height: 5px; - border-radius: 3px; - background-color: #f00; + width: 6px; + height: 6px; + border-radius: 50%; + background-color: var(--ti-lowcode-common-error-color); display: block; z-index: 100; position: absolute; - top: 1px; - right: 1px; + top: -3px; + right: -4px; } } & > span:not(:last-child) { diff --git a/packages/plugins/script/src/Main.vue b/packages/plugins/script/src/Main.vue index ae7b3fda9..656879f9d 100644 --- a/packages/plugins/script/src/Main.vue +++ b/packages/plugins/script/src/Main.vue @@ -149,13 +149,13 @@ export default { height: 24px; line-height: 24px; .dots { - width: 10px; - height: 10px; - background: var(--ti-lowcode-warning-color-1); + width: 6px; + height: 6px; + background: var(--ti-lowcode-common-error-color); border-radius: 50%; position: absolute; - top: 5px; - right: 40px; + top: 9px; + right: 34px; } } .icon-wrap {