typography.js icon indicating copy to clipboard operation
typography.js copied to clipboard

Heading line-heights not the same as paragraphs?

Open mhedengren opened this issue 4 years ago • 0 comments

Correct me if I'm wrong, but out of the box it seems that headings doesn't get the same line-heights as the paragraphs, why?

title: "Custom Theme", baseFontSize: "21px", baseLineHeight: 1.85, scaleRatio: 2, bodyFontFamily: ["Lato", "sans-serif"], headerFontFamily: ["Lato", "sans-serif"],

Here's an image with one h2 and one p tag. https://i.imgur.com/IzQiDyn.png

The problem is that the spacing looks uneven if I for example start a section with a heading and then use a paragraph. Am I doing something wrong?

mhedengren avatar Oct 03 '20 23:10 mhedengren