Create a helper (utility) class say .has-vertically-centered-items

1
2
3
4
5
.has-v-centered-items {
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
}

Hope that helps. Cheers!