Skip to content

Commit

Permalink
Optimise heading line heights (#7969)
Browse files Browse the repository at this point in the history
* Decrease line-spacing for large headings; fixes #7930.

* Nix extra line-height declaration.
  • Loading branch information
sarahmonster committed Jul 19, 2018
1 parent 1feed2c commit 3820480
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core-blocks/heading/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,15 @@
h6 {
font-size: 0.8em;
}

// Adjust line spacing for larger headings.
h1.editor-rich-text__tinymce,
h2.editor-rich-text__tinymce,
h3.editor-rich-text__tinymce {
line-height: 1.4;
}

h4.editor-rich-text__tinymce {
line-height: 1.5;
}
}

0 comments on commit 3820480

Please sign in to comment.