diff --git a/frontend/src/components/canvas/components/TextAttr.vue b/frontend/src/components/canvas/components/TextAttr.vue index 5b42a930bd..59a66cf145 100644 --- a/frontend/src/components/canvas/components/TextAttr.vue +++ b/frontend/src/components/canvas/components/TextAttr.vue @@ -24,7 +24,7 @@ > - + @@ -47,7 +47,7 @@ :value="item.value" > - + {{ item.label }} @@ -257,7 +257,7 @@ @click="goColor" /> -
+
-
+
-
+
- +
@@ -327,7 +327,7 @@ style="width: 20px;float: left;margin-top: 2px;margin-left: 2px;" > - +
@@ -336,7 +336,7 @@ style="width: 20px;float: left;margin-top: 2px;margin-left: 2px;" > - +
- +
@@ -616,7 +616,7 @@ export default { mainStyle() { const style = { - left: (this.getPositionX(this.curComponent.style.left) - this.scrollLeft) + 'px', + left: (this.getPositionX(this.curComponent.style.left) - this.scrollLeft - 10) + 'px', top: (this.getPositionY(this.curComponent.style.top) - this.scrollTop + 20) + 'px' } return style