Skip to content

Commit

Permalink
Paragraph block: remove dead CSS (#19821)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 23, 2020
1 parent c079120 commit 5a8eda1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/block-library/src/paragraph/editor.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
// Specific to the empty paragraph placeholder:
// when shown on mobile and in nested contexts, one or more icons show up on the right.
// This padding makes sure it doesn't overlap text.
.block-editor-rich-text__editable.wp-block-paragraph:not(.is-selected) [data-rich-text-placeholder]::after {
display: inline-block;
padding-right: $icon-button-size * 3;

// In nested contexts only one icon shows up.
.wp-block .wp-block & {
padding-right: $icon-button-size;
}
}

.block-editor-block-list__block[data-type="core/paragraph"] p {
min-height: $empty-paragraph-height / 2;
line-height: $editor-line-height;
Expand Down

0 comments on commit 5a8eda1

Please sign in to comment.