.row { display: inline-flex; flex-direction: column; align-items: stretch; justify-content: space-between; width: 100%; white-space: nowrap; margin-bottom: calc(var(--spacer) / 2); } .row > div { margin-bottom: calc(var(--spacer) / 2); } @media (min-width: 55rem) { .row { flex-direction: row; } }