Skip to content

Commit e54d9b7

Browse files
Christian Shearerclaude
andcommitted
Prevent line break in CO2 stats (nowrap on bold values)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7100f11 commit e54d9b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ ${SUPPORTED_LANGS.map(l => ` <link rel="alternate" hreflang="${l}" href="${base
668668
<p style="font-family:var(--font-ui);font-size:13px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--color-emerald);margin:0 0 16px;">${t(lang, "stats_title")}</p>
669669
<h2 style="font-family:var(--font-display);font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:700;color:var(--color-cream);margin:0 0 16px;max-width:600px;line-height:1.15;">The Uncomfortable Math</h2>
670670
<p style="font-size:1rem;color:var(--color-muted);max-width:560px;line-height:1.7;margin:0;">
671-
${t(lang, "impact_prefix")} <strong style="color:var(--color-cream);">${t(lang, "impact_co2_daily")}</strong>. ${t(lang, "impact_middle")} <strong style="color:var(--color-cream);">${t(lang, "impact_co2_agentic")}</strong>.
671+
${t(lang, "impact_prefix")} <strong style="color:var(--color-cream);white-space:nowrap;">${t(lang, "impact_co2_daily")}</strong>. ${t(lang, "impact_middle")} <strong style="color:var(--color-cream);white-space:nowrap;">${t(lang, "impact_co2_agentic")}</strong>.
672672
<a href="/research" style="color:var(--color-emerald);font-weight:600;margin-left:4px;">${t(lang, "impact_link")} &rarr;</a>
673673
</p>
674674
<div class="stats-grid-dark">

0 commit comments

Comments
 (0)