diff --git a/src/views/chart/ContentEdit/components/EditShapeBox/index.vue b/src/views/chart/ContentEdit/components/EditShapeBox/index.vue index d796dae5..ab7fec8f 100644 --- a/src/views/chart/ContentEdit/components/EditShapeBox/index.vue +++ b/src/views/chart/ContentEdit/components/EditShapeBox/index.vue @@ -65,8 +65,8 @@ const select = computed(() => { .shape-point { z-index: 1; position: absolute; - width: 10px; - height: 10px; + width: 7px; + height: 7px; border: 3px solid v-bind('themeColor'); border-radius: 5px; background-color: #fff; @@ -79,6 +79,12 @@ const select = computed(() => { &.r { height: 30px; } + &.r, + &.rt, + &.rb + { + transform: translate(-30%, -30%); + } } /* 选中 */ .shape-modal {