When using flex, the first value is always flex-grow, followed by flex-shrink, and flex-basis. Code 0 1 auto, the default values.

Make sure to pick 0, followed by 1, and finally auto.