canonical / canonical/vanilla-framework

Limit all headings to 40rem, same as paragraph text

Open
#5,200 5 comments 0 reactions 0 assignees View on GitHub
P3 Triaged Triaged: v4
Dominant language
HTML
Stars
983
Forks
216
Avg merge
3d 13h
Merged PRs (30d)
3

Description

We've received complaints that headings take up more horizontal width than text in the documentation layout, where text is not constrained to narrow columns, but spans the full available width until it hits the 40em max-width. For bigger font-size headings, that's a lot wider than surronding paragraphs. I propose we limit everything to 40rem as opposed to 40em, so things look tidier.

Contributor guide

Open the contributing guide

Research direction

Start by locating the styles that set the maximum width for documentation paragraphs and headings, then compare their current em-based behavior with the proposed 40rem limit. Confirm the change across the documentation layout at larger heading sizes; done means headings and surrounding paragraph text stop at the same 40rem width.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, sass
Domain
design, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.