Skip to content

Cap running text at about 80 characters per line - #204

Closed
bendichter wants to merge 1 commit into
mainfrom
limit-line-length
Closed

bendichter wants to merge 1 commit into
mainfrom
limit-line-length

Conversation

@bendichter

Copy link
Copy Markdown
Contributor

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

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>
@netlify

netlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit f60d89b
🔍 Latest deploy log https://app.netlify.com/projects/nwborg/deploys/6ac93e4ebf7ff00008fa5bfc
😎 Deploy Preview https://deploy-preview-204--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bendichter

Copy link
Copy Markdown
Contributor Author

Superseded by #209, which combines this with the related PRs. The commits here are included there unchanged.

@bendichter bendichter closed this Oct 11, 2026
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