From c94e36a8613f2a782d8f890ca3aa7c144e15d25f Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 23:21:58 +0200 Subject: [PATCH] fix(trip): fluid stat-value font size with clamp() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/intotheeast/css/style.css b/themes/intotheeast/css/style.css index 2753c00..5d5c971 100644 --- a/themes/intotheeast/css/style.css +++ b/themes/intotheeast/css/style.css @@ -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;