From 407a8e48bcf67825de3f680e17850192030767e3 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 25 Oct 2026 21:55:57 +0800 Subject: [PATCH] style: avoid orphan words in short paragraphs Sponsor, sponsorship, call-to-action, and table-note paragraphs could end on a lone word, unlike their peers. Co-Authored-By: Claude --- website/static/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/static/style.css b/website/static/style.css index b0c8877f..996ea369 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -728,6 +728,7 @@ kbd { color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.55; + text-wrap: pretty; } .sponsor-desc a { @@ -768,12 +769,14 @@ kbd { align-self: start; color: var(--ink-soft); font-size: var(--text-base); + text-wrap: pretty; } .results-note { color: var(--ink-soft); font-size: var(--text-sm); justify-self: end; + text-wrap: pretty; } /* Single-project pages drop the order note, so keep the note in the last column */ @@ -1399,6 +1402,7 @@ th[data-sort].sort-asc::after { color: var(--ink-muted); font-size: var(--text-sm); line-height: 1.55; + text-wrap: pretty; } .sponsorship-body { @@ -1473,6 +1477,7 @@ th[data-sort].sort-asc::after { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.65; + text-wrap: pretty; } .tier-list { @@ -1548,6 +1553,7 @@ th[data-sort].sort-asc::after { color: var(--ink-soft); font-size: var(--text-base); line-height: 1.6; + text-wrap: pretty; } .tier-includes li::before { @@ -1612,6 +1618,7 @@ th[data-sort].sort-asc::after { .past-sponsor-desc { color: var(--ink-soft); font-size: var(--text-lg); + text-wrap: pretty; } .sponsorship-cta-row { @@ -1649,6 +1656,7 @@ th[data-sort].sort-asc::after { .final-cta p { color: var(--ink-soft); font-size: var(--text-lg); + text-wrap: pretty; } .final-cta .hero-action-primary {