Closed ruphin closed 6 years ago
I figured out the root cause of this.
A flex element with a child that is larger than the parent, with flex-resize: 0
, will not be centred and instead will overflow on the right. This causes the element to be misaligned.
Pen with the issue: https://codepen.io/ruphin/pen/YJZXJZ
Resolved by adding an additional flex container for centering
In IE11, the content window is offset to the right with about 100 pixels, which can even result in the content being partially positioned offscreen.