This is only an issue in Safari and looks like a Safari bug to me. Here is a fiddle with a simplified version of the issue.
When an image is in a nested flexbox elem
See my demo for a working example, add flex-direction: column; to fix this issue.
flex-direction: column;
.container { display: flex; flex-direction: column; } .container section:first-child { display: flex; flex-direction: column; margin-bottom: 25px; } .container img { width: 125px; height: auto; }