Within a flex container, a flex item normally has an automatic minimum size that is equal to its min-content size. (100px x 100px, for our example) However, for the main axis, if the flex item has a scrollable overflow value in that axis, the automatic minimum size is set to zero for that axis.