The default value flex items have for align-items is stretch. This setting makes elements fill up the entire cross axis.
align-items
stretch
Make sure to pick stretch.