canonical / vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
https://vanillaframework.io
GNU Lesser General Public License v3.0
798 stars 163 forks source link

Limit all headings to 40rem, same as paragraph text #5200

Open lyubomir-popov opened 4 days ago

lyubomir-popov commented 4 days ago

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.

bartaz commented 4 days ago

You know it means all the headings everywhere will be restricted? Is that what we want?

image

It will break existing headings in unexpected ways (if they have hardcoded break lines):

image