Skip to content

Commit

Permalink
Allow reusable block top and bottom paddings to collapse.
Browse files Browse the repository at this point in the history
This is a followup and addition to #21312. It's separate because it's not a regression.
  • Loading branch information
jasmussen committed Apr 8, 2020
1 parent 28848a4 commit cdebbd8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/block-library/src/block/editor.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect {
min-height: auto;
.edit-post-visual-editor .block-library-block__reusable-block-container {
.block-editor-writing-flow__click-redirect {
min-height: auto;
}

// Allow vertical paddings to collapse to better fit the flow.
.block-editor-writing-flow {
display: block;
}
}

0 comments on commit cdebbd8

Please sign in to comment.