From bcdbabe2014bb80e192f2213a055ac79ff9b2be9 Mon Sep 17 00:00:00 2001 From: Moepchi Date: Thu, 22 Oct 2026 20:02:30 +0000 Subject: [PATCH] News ticker: scroll a bit slower Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU --- web/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 22a4834..07c2a09 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -2659,11 +2659,11 @@ function NewsTicker() { {t("news.label")}
{/* Duration from the distance travelled (track + text), so the speed is - the same ~60 px/s on every screen width. */} + the same ~45 px/s on every screen width. */}
{ - if (el) el.style.animationDuration = `${el.scrollWidth / 60}s`; + if (el) el.style.animationDuration = `${el.scrollWidth / 45}s`; }} > {entries}