I have a problem with simple flexbox layout in Firefox. The parent div .logos-grid is not shrinking when you resize the browser window although in all other major browsers it does.
The html:
<div class="grid">
<div><img src="logo.png"></div>
<div><img src="logo.png"></div>
<div><img src="logo.png"></div>
<div><img src="logo.png"></div>
<div><img src="logo.png"></div>
</div>
The css:
.grid {
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
}
.grid img {
max-width: 100%;
}
Demo on codepen: http://codepen.io/thomasoCZ/pen/VajQzJ?editors=1100
Please help :-)