From c76d2eded65ab811612a3c846c9efbf723bb2700 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 31 May 2024 17:21:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E8=B7=91=E9=A9=AC=E7=81=AF=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E6=BB=9A=E5=8A=A8=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/scroll-text/Component.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/custom-component/scroll-text/Component.vue b/core/core-frontend/src/custom-component/scroll-text/Component.vue index b510ce476b..3e7dd1b6ee 100644 --- a/core/core-frontend/src/custom-component/scroll-text/Component.vue +++ b/core/core-frontend/src/custom-component/scroll-text/Component.vue @@ -187,10 +187,10 @@ const textStyle = computed(() => { } @keyframes marqueeAnimation { 0% { - transform: translate(0, 0); + transform: translate(100%, 0); } 100% { - transform: translate(-100%, 0); + transform: translate(-50%, 0); } }