Skip to content

Commit

Permalink
Paragraph block: remove min-height
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 23, 2020
1 parent 5a8eda1 commit 620da41
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/block-library/src/paragraph/editor.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
.block-editor-block-list__block[data-type="core/paragraph"] p {
min-height: $empty-paragraph-height / 2;
line-height: $editor-line-height;
}

// Overwrite the inline style to make the height collapse when the paragraph editable gets focus.
.block-editor-block-list__block[data-type="core/paragraph"] .has-drop-cap:focus {
min-height: $empty-paragraph-height / 2 !important;
min-height: auto !important;
}

0 comments on commit 620da41

Please sign in to comment.