Skip to content

Commit

Permalink
Improve columns flex rule, round 2. (#17968)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and youknowriad committed Oct 21, 2019
1 parent 2a12dcc commit b677b93
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-library/src/columns/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@
> [data-type="core/column"] > .editor-block-list__block-edit .block-core-columns {
display: flex;
flex-direction: column;
flex: 1 0 auto;

// This flex rule fixes an issue in IE11.
flex: 1 1 auto;

// IE11 does not support `position: sticky`, so we use it here to serve correct Flex rules to modern browsers.
@supports (position: sticky) {
flex: 1;
}
}

// Adjust the individual column block.
Expand Down

0 comments on commit b677b93

Please sign in to comment.