News ticker: scroll a bit slower

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-22 20:02:30 +00:00
1 parent 3c24ddc7d3
commit bcdbabe201
1 file changed
+2 -2
+2 -2
View File
@@ -2659,11 +2659,11 @@ function NewsTicker() {
<span className="ts-news-label">{t("news.label")}</span>
<div className="ts-news-track">
{/* 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. */}
<div
className="ts-news-scroll"
ref={(el) => {
if (el) el.style.animationDuration = `${el.scrollWidth / 60}s`;
if (el) el.style.animationDuration = `${el.scrollWidth / 45}s`;
}}
>
{entries}