Center vertically items inside ion-list in side-menu


#1

Hello! I am trying to center items vertically inside a ion-list item that is a part of side-menu.
That means instead of having items like on the right picture instead of the standard way on the left:

Thanks for your help!


#2

You could use flexbox for that. Wrap your ion-list in a div. Set the div to
display: flex; justify-content: center; align-items: center; flex-direction: column;