Repository navigation
Cap running text at about 80 characters per line - #204
Closed
bendichter wants to merge 1 commit into
Closed
bendichter wants to merge 1 commit into
bendichter wants to merge 1 commit into
Conversation
Paragraphs have no width limit, so on a desktop window they stretch across the whole container. On the About, Team, FAQ and tool pages that is 130 to 170 characters per line, about twice what is comfortable to read. Paragraphs and list items are now capped at 40em, measured in their own font size. Those that hold an image, video, embed, table, code block or nested layout are left alone, as are headings, cards and grids. Centered paragraphs get auto margins so that they stay centered. Nothing changes at phone width, where lines are already short. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for nwborg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
Superseded by #209, which combines this with the related PRs. The commits here are included there unchanged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paragraphs have no width limit, so on a desktop window they stretch across the whole container. On the About, Team, FAQ and tool pages that is 130 to 170 characters per line, about twice what is comfortable to read.
This caps paragraphs and list items at 40em, measured in their own font size. Those that hold an image, video, embed, table, code block or nested layout keep the full width, and headings, cards and grids are not touched. Centered paragraphs get auto margins so that they stay centered.
Measured over every page at 1440 px with #202 applied, 199 of 480 text blocks ran past 95 characters per line before the change. Afterward the longest is 85 and the median is 70. Nothing changes at 400 px, where lines are already short, and no page gains a horizontal scrollbar.
Two side effects on desktop. Text-heavy pages get taller: the median page grows by about 70 px, and the FAQ pages by up to a third. On single-column pages the text now sits in the left half of the container with space to its right. Centering a narrower column would look more balanced, but it has to be done template by template because the same containers also hold full-width grids and tables.
🤖 Generated with Claude Code