The MDN docs for flex-wrap said
nowrap
The flex items are laid out in a single line which may cause the flex container to overflow.
While on this particular page it has 2 nowrap examples show 2 different effects, the first one on the top show overflow effect, while the second one on the bottom show that the items shrink to fit inside the container.
Why is that ?