If flex-direction is set to column, the stretch value makes items fill up the entire container width because the cross axis is horizontal.

Make sure to pick column, followed by stretch.