Skip to content

fix(HeroTitle): wrap title between words, not mid-word#104

Open
nicls wants to merge 1 commit into
calesthio:mainfrom
nicls:fix/herotitle-wordwrap
Open

fix(HeroTitle): wrap title between words, not mid-word#104
nicls wants to merge 1 commit into
calesthio:mainfrom
nicls:fix/herotitle-wordwrap

Conversation

@nicls

@nicls nicls commented Jun 14, 2026

Copy link
Copy Markdown

HeroTitle rendered each character as its own flex item, so flex-wrap could break in the middle of a word (e.g. "über" → "ü"/"ber"). Group characters per word into nowrap inline-flex spans so wrapping only happens at spaces; per-character spring animation is preserved.

HeroTitle rendered each character as its own flex item, so flex-wrap
could break in the middle of a word (e.g. "über" → "ü"/"ber"). Group
characters per word into nowrap inline-flex spans so wrapping only
happens at spaces; per-character spring animation is preserved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicls nicls requested a review from calesthio as a code owner June 14, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant