Skip to content

Commit

Permalink
Ignore the IE11 cover image fix in browsers that support flex.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Nov 20, 2018
1 parent f648583 commit 0954f43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@
content: "";
font-size: 0;
min-height: inherit;

// IE doesn't support flex so omit that.
@supports (position: sticky) {
content: none;
}
}

// Aligned cover blocks should not use our global alignment rules
Expand Down

0 comments on commit 0954f43

Please sign in to comment.