If align-items is set to flex-start, items take the size of their content and are at the beginning of the cross axis.

Make sure to pick flex-start.