Skip to content

Commit 9289b3d

Browse files
p4gsclaudehappy-otter
committed
fix: reduce hero title font size on portrait mobile to prevent word break
17vw was too large for the narrower container (100% - 32px), causing "PARTY" to break mid-word. Reduced to 13vw which fits "NTH PARTY" on one line and "FINDER" on the second. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 8d01ce1 commit 9289b3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/projects/nthpartyfinder/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@
815815
.hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); letter-spacing: 3px; }
816816
}
817817
@media (max-width: 520px) and (orientation: portrait) {
818-
.hero-title { font-size: clamp(4.2rem, 17vw, 7rem); letter-spacing: 3px; }
818+
.hero-title { font-size: clamp(2.8rem, 13vw, 7rem); letter-spacing: 3px; }
819819
}
820820
/* ── 3D GRAPH ── */
821821
/* The .hero-overlay div is no longer used — dark tint is on body::after */

0 commit comments

Comments
 (0)