Skip to content

Long words wrap inside the column - #47

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
long-words-wrap
Oct 25, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
long-words-wrap

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

An identifier or a URL longer than the column ran past the window's right edge, where the body's overflow-x: hidden cuts it off. overflow-wrap: break-word on the column breaks such a word where it would overflow, and nowhere else.

Measured in headless Chromium on a local build, every content page with every <details> open, at 320px wide (a desktop window at 400% zoom):

before after
pages reaching past the window 14 of 25 2
widest wiki → Expressions, 482px past Quick start, 202px past

The pages it fixes are What's new (MultivariableTaylorExpansionTerms and others), Research, the wiki index and nine wiki pages (WrongNumberOfArgumentsException, MathS.Settings.ComplexityCriteria, the heading AngouriMath.Terminal), and words on Quick start and Try online. The two pages still overflowing are separate PRs: Quick start's download table, and Try online's displayed formula.

At 1280px and 800px every page renders pixel for pixel as before, apart from two animated GIFs caught on another frame. The one exception is the wiki's Expressions page. There, an unrendered markdown link, (https://am.angouri.org/docs/AngouriMath/MathS/FromString.html), reached past the column into the margin, and now it breaks at the column's edge.

Merge #46 first. Until then, this change would break the wiki index's page names mid-word.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

An identifier or a URL longer than the column ran past the window's right edge, where the body's overflow-x: hidden cuts it off. At 320px wide, a desktop window at 400% zoom, that was 14 pages: What's new (MultivariableTaylorExpansionTerms and others), Research, the wiki index and nine wiki pages (WrongNumberOfArgumentsException, MathS.Settings.ComplexityCriteria, the heading AngouriMath.Terminal), and words on Quick start and Try online. overflow-wrap: break-word breaks such a word where it would overflow and nowhere else.

At 1280px and 800px every page renders pixel for pixel as before, apart from two animated GIFs caught on another frame, except the wiki's Expressions page. There, an unrendered markdown link, (https://am.angouri.org/docs/AngouriMath/MathS/FromString.html), reached past the column into the margin and now breaks at the column's edge.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet moved this from Todo to In review in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit a92c095 into master Oct 25, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the long-words-wrap branch October 25, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant