Skip to content

Commit

Permalink
Fix the empty space in reusable blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Sep 9, 2019
1 parent d2b5b25 commit d83e8fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class ReusableBlockEdit extends Component {
}

return (
<div>
<div className="block-library-block__reusable-block-container">
{ ( isSelected || isEditing ) && (
<ReusableBlockEditPanel
isEditing={ isEditing }
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/block/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow__click-redirect {
height: auto;
}
1 change: 1 addition & 0 deletions packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "./archives/editor.scss";
@import "./audio/editor.scss";
@import "./block/editor.scss";
@import "./button/editor.scss";
@import "./categories/editor.scss";
@import "./code/editor.scss";
Expand Down

0 comments on commit d83e8fd

Please sign in to comment.