CSS Flexbox: Shrink stretched child on relayout