Skip to content

fix(design): the colophon is centred, and its credits stay on one line - #302

Merged
JanWelker merged 1 commit into
mainfrom
fix/footer-centred-colophon
Sep 8, 2026
Merged

fix(design): the colophon is centred, and its credits stay on one line#302
JanWelker merged 1 commit into
mainfrom
fix/footer-centred-colophon

Conversation

@JanWelker

Copy link
Copy Markdown
Owner

The footer sat left against a page that is centred everywhere else, and it carried a max-w-[52ch] measure of its own — a reading width on a block that is two one-line credits and a row of links, not reading copy. Every locale broke the share line in half well short of the trimmed edge; the German and French ones read like a paragraph that had been cut off.

The sheet's own max-w-6xl is the only width limit the colophon needs, so the measure is gone and text-balance carries the wrap at phone widths, where it does have to break. The link row is centred with the text above it.

Checked in the browser at 1280 and 1440 px in German and French (the longest locale): all three lines render on one line each. At 390 px the two credits break in balanced pairs and the links wrap onto two centred rows.

Regression test in e2e/layout.spec.ts — only a rendered page can say how many lines a paragraph actually took. Confirmed it fails against the old markup. Browser baseline 122 → 123; version 7.0.0 → 7.0.1 (patch: visual fix).

The footer sat left against a page that is centred everywhere else, and it
carried a 52ch measure of its own — a reading width on a block that is two
one-line credits and a row of links, not reading copy. Every locale broke the
share line in half well short of the trimmed edge; the German and French ones
looked like a paragraph that had been cut off.

The sheet's own max-w-6xl is the only width limit the colophon needs, so the
measure is gone and text-balance carries the wrap on a phone, where it does
have to break. The link row is centred with the text above it.

Regression test in the browser suite, since only a rendered page can say how
many lines a paragraph actually took.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-08 17:27 UTC

@JanWelker
JanWelker merged commit 134c8d7 into main Sep 8, 2026
6 of 7 checks passed
@JanWelker
JanWelker deleted the fix/footer-centred-colophon branch September 8, 2026 17:27
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