Most flexbox layouts work by using the intrinsic sizing.
This means the sizes of boxes are determined by the size of the contents.
This is usually a good thing because you want your layout to stretch to the content, but also to the available space.
This makes layouts "flexible".