Skip to content

Commit

Permalink
Make Preview fill available space.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Aug 21, 2019
1 parent f77e18a commit cd560d9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,21 @@ $block-inserter-search-height: 38px;
overflow-y: auto;

@include break-medium {
display: block;
display: flex;
flex-direction: column;
}

.block-editor-block-card {
padding-bottom: 20px;
margin-bottom: 10px;
margin-bottom: 20px;
border-bottom: $border-width solid $light-gray-500;
@include edit-post__fade-in-animation();
}

.block-editor-inserter__preview {
display: flex;
flex-grow: 2;
}
}

.block-editor-inserter__menu-help-panel-no-block {
Expand Down Expand Up @@ -210,4 +216,5 @@ $block-inserter-search-height: 38px;
min-height: 150px;
padding: 10px;
display: grid;
flex-grow: 2;
}

0 comments on commit cd560d9

Please sign in to comment.