Skip to content

Commit

Permalink
Delete editor-styles (#21383)
Browse files Browse the repository at this point in the history
These were used to prevent wp-admin styles from leaking to the editor. Now that the paragraph & heading blocks add their own variables for these properties, we can remove these styles.
  • Loading branch information
nosolosw authored Apr 6, 2020
1 parent 62e7ad8 commit a97f31c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions packages/editor/src/editor-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ h6 {
font-size: 0.8em;
}

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

h4 {
line-height: 1.5;
}

// Default margins.
h1 {
margin-top: 0.67em;
Expand Down Expand Up @@ -84,15 +73,6 @@ h6 {
margin-bottom: 2.33em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}

p {
font-size: inherit;
margin-top: $default-block-margin;
Expand Down

0 comments on commit a97f31c

Please sign in to comment.