From 1126bdc3e2d89ba31dc2483845def785f80b040e Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Dec 2025 14:34:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/ComponentToolBar.vue | 3 ++- .../components/data-visualization/ComponentToolBarV3.vue | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/ComponentToolBar.vue b/core/core-frontend/src/components/data-visualization/ComponentToolBar.vue index 420dcf1c67..57723896fd 100644 --- a/core/core-frontend/src/components/data-visualization/ComponentToolBar.vue +++ b/core/core-frontend/src/components/data-visualization/ComponentToolBar.vue @@ -201,7 +201,8 @@ onUnmounted(() => { :deep(.ed-input__wrapper) { position: relative; - padding: 0 38px 0 8px; + padding-left: 8px !important; + padding-right: 38px !important; &::after { position: absolute; content: '%'; diff --git a/core/core-frontend/src/components/data-visualization/ComponentToolBarV3.vue b/core/core-frontend/src/components/data-visualization/ComponentToolBarV3.vue index 85ee2846d7..182f480bbf 100644 --- a/core/core-frontend/src/components/data-visualization/ComponentToolBarV3.vue +++ b/core/core-frontend/src/components/data-visualization/ComponentToolBarV3.vue @@ -189,12 +189,15 @@ onUnmounted(() => { :deep(.ed-input__wrapper) { position: relative; - padding: 0 38px 0 8px; + padding-left: 8px !important; + padding-right: 38px !important; &::after { position: absolute; content: '%'; right: 35px; - top: -1px; + top: 1px; + height: 24px; + line-height: 24px; } } }