UXP’s default stylesheet is a little different than browsers, and this is a case where that’s true. If you tell UXP you want the row
class to align-items: stretch
, you’ll get the behavior you’re after.
.row {
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
}