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

Inconsistent space around headings #19

Open
michaellenaghan opened this issue Nov 14, 2022 · 0 comments
Open

Inconsistent space around headings #19

michaellenaghan opened this issue Nov 14, 2022 · 0 comments

Comments

@michaellenaghan
Copy link

I think there's an issue here:

yue.css/src/yue.css

Lines 29 to 30 in 76f4cca

margin-top: 1.62em;
margin-bottom: 1em;

Note the progression of top and bottom margins:

.yue h2 {
  ...
  margin-top: 1.42em;
  margin-bottom: 0.4em;
}

.yue h3 {
  ...
  margin-top: 1.62em;
  margin-bottom: 1em;
}

.yue h4,
.yue h5,
.yue h6 {
  ...
  margin-top: 1.4em;
  margin-bottom: 0.8em;
}

h3s margins are larger than both h2s and h4/h5/h6s.

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