Skip to content

Commit

Permalink
Set line-height of all headings to 1.2
Browse files Browse the repository at this point in the history
Closes TypeStrong#1796. I chose 1.2 because this is what Bootstrap uses.
  • Loading branch information
srmagura committed Nov 26, 2021
1 parent 547ccd4 commit e218745
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- If file exports a symbol both under it's real name and as `default`, the `default` export will now always be the renamed symbol, #1795.
- TypeDoc will no longer crash if a symbol is defined both as a normal class (and optional interface) and as a property, as is used for global Node types in older `@types/node` versions, Gerrit0/typedoc-plugin-missing-exports#5.
- Fixed line height of `h1` and `h2` elements being too low, #1796.

## v0.22.9 (2021-11-14)

Expand Down
9 changes: 9 additions & 0 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ body.dark {
--external-icon: var(--dark-external-icon);
}

h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.2;
}

h1 {
font-size: 2em;
margin: 0.67em 0;
Expand Down

0 comments on commit e218745

Please sign in to comment.