Here is code I working on:
.container {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 150px;
background-color: #cbcbcb;
}
<div class="container">
<div>should be on the TOP</div>
<div>should be on the BOTTOM</div>
</div>
And I am getting predictable result in Firefox:
But in Chrome I am getting next result:
Why I am getting this space under the bottom element?
It could be fixed by changing css min-height
to height
, but in my context it's important to have min-height
value here.
P.S. This behavior is reproduced only in Chrome and Canary, and seems only on Windows.
My env: Chrome Version 56.0.2924.87 (64-bit) and Win 10