refactor(数据大屏): 优化跑马灯初始滚动位置

This commit is contained in:
wangjiahao 2024-05-31 17:21:45 +08:00
parent c3e3b32a2f
commit c76d2eded6

View File

@ -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);
}
}
</style>