Skip to content

Commit

Permalink
Block: Use flex-basis to stretch column edit to wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Jun 27, 2018
1 parent 2050aa0 commit 003fab1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core-blocks/columns/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
display: flex;

> [data-type="core/column"] {
display: flex;
flex-direction: column;
flex: 1;
width: 0;

&.is-selected > .editor-block-list__block-edit {
height: calc( 100% - #{ 2 * $block-padding } );
flex-basis: 100%;
}
}
}
Expand Down

0 comments on commit 003fab1

Please sign in to comment.