Glossary terms: keep the unlinked related-terms line under 80 characters

Merged
LU
10d ago
+1-1

On glossary term pages, the "Not yet in the glossary:" line now stays within the reading width. Visitors will only notice on Statistical significance, where one related term is a whole sentence and ran to 94 characters a line.

This also clears the "Designed screens" failure that the line causes on the open design PRs.

Decisions to review

  • This caps the line's width and leaves the sentence in place. The sentence itself belongs in the glossary's source sheet, and #1199 tracks that.

Checks

Measured with the AUDIT from scripts/rebrand/check_design.py on /glossary/english/statistical_significance/:

WidthBeforeAfter
390 pxno long linesno long lines
1024 px94 charactersno long lines
1440 px94 charactersno long lines

The "after" column came from applying this CSS rule to a local build. CI runs the full design check on this branch. There are no before/after crops, because the only visible change is where one line wraps on one page.

šŸ¤– Generated with Claude Code


Summary by cubic

On glossary term pages, the "Not yet in the glossary:" line is now capped at 32em so it stays within the reading width, even when a related term is a whole sentence. This also clears the "Designed screens" check failure that the long line caused on every open design PR.