Skip to content

The header fits a narrow window - #44

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
the-title-fits-a-phone
Oct 25, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
the-title-fits-a-phone

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

Below 1100px the header sets the title at 1.5 × 25pt, 50px. At that size "AngouriMath" is 339px wide, and the column is 70% of the window. So in a window narrower than about 545px the title runs past the column. Below about 420px the whole page scrolls sideways, by 85px at 320px, which is a 1280px desktop window at 400% zoom. The menu's "Angouri.org", at 30pt, runs over below about 420px as well.

The three sizes are now capped by the window's width: the header at 8vw, the title at 9vw and the menu links at 7.5vw.

Measured on the built site in headless Chromium, with the menu open:

window before after
320px title over the column by 137px, "Angouri.org" by 84px, "Navigation", "Research" and "Contacts" by 3–10px; page scrolls 85px nothing over; no sideways scroll
390px title over by 88px, "Angouri.org" by 35px; page scrolls 26px nothing over; no sideways scroll
480px title over by 25px nothing over
555px and up fits unchanged: every size as before

A phone is unaffected. The pages declare no viewport, so a phone lays them out 980px wide, where none of the caps is reached. Emulated at 390px with mobile metrics, this branch and the live site compute the same sizes: 50px, 33.3px and 40px.

At 320px, Quick start, Wiki and Try online still scroll sideways. On those pages it's the content that is too wide, not the header: code lines, the downloads table, the wiki's page names and MathJax formulas. Each needs its own change.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

Below 1100px the header sets the title at 1.5 x 25pt, 50px, where
"AngouriMath" is 339px wide, and the column is 70% of the window. So in a
window narrower than about 545px the title ran past the column, and below
about 420px the whole page scrolled sideways: by 85px at 320px, which is a
1280px desktop window at 400% zoom. The menu's "Angouri.org", at 30pt, ran
over below about 420px.

The three sizes are now capped by the window's width: the header at 8vw,
the title at 9vw and the menu links at 7.5vw. At 320px nothing in the header
leaves the column and the home page does not scroll sideways. From about
555px up every size is what it was. A phone is unaffected: the pages declare
no viewport, so a phone lays them out 980px wide, where none of the caps is
reached.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet
Rafael-SOWNet merged commit 6d12f76 into master Oct 25, 2026
3 checks passed
@Rafael-SOWNet
Rafael-SOWNet deleted the the-title-fits-a-phone branch October 25, 2026 15:34
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