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