Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heading line-heights not the same as paragraphs? #274

Open
mhedengren opened this issue Oct 3, 2020 · 0 comments
Open

Heading line-heights not the same as paragraphs? #274

mhedengren opened this issue Oct 3, 2020 · 0 comments

Comments

@mhedengren
Copy link

mhedengren commented Oct 3, 2020

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?

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

No branches or pull requests

1 participant