Skip to content

Commit 501fe48

Browse files
committed
Fix IE specific flexbox min-height issue
1 parent 6a3db2c commit 501fe48

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/core/public/rendering/_base.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@
7373
display: flex;
7474
flex-flow: column nowrap;
7575
margin: 0 auto;
76-
min-height: calc(100vh - #{$euiHeaderHeightCompensation});
76+
// IE needs this to be "height" instead of "min-height"
77+
// "min-height" causes a bug described in the next link
78+
// https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
79+
height: calc(100vh - #{$euiHeaderHeightCompensation});
7780

7881
&.hidden-chrome {
7982
min-height: 100vh;

0 commit comments

Comments
 (0)