fix(trip): fluid stat-value font size with clamp()

Replaces fixed 3rem with clamp(--text-sm, 5.5vw, --text-3xl) so long
values like "4:32:15" scale down on mobile instead of overflowing.
Desktop (≥870px viewport) is unchanged at 3rem.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
2026-06-21 23:21:58 +02:00
parent 2c831628b2
commit c94e36a861
+1 -1
View File
@@ -601,7 +601,7 @@ body::after {
.stat-value {
display: block;
font-family: var(--font-display);
font-size: var(--text-3xl);
font-size: clamp(var(--text-sm), 5.5vw, var(--text-3xl));
font-weight: 400;
color: var(--color-accent);
line-height: 1.1;