Ionic - Center text vertically in item-list with item-avatar class
You can try to use this css:
.item-text-center
{
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
-moz-align-items: center;
align-items: center;
position: absolute;
top: 0;
height: 100%;
}
and apply it to your <div>
<div class="item-text-center item-text-wrap">{{x.name}}</div>
and this is the whole content:
<ion-content class="padding">
<ion-list>
<ion-item class="item-thumbnail-left item-icon-right" collection-repeat="x in y">
<img src="img/{{x.icon}}.png">
<div class="item-text-center item-text-wrap">{{x.name}}</div>
<i class="icon ion-chevron-right icon-accessory"></i>
</ion-item>
</ion-list>
</ion-content>
This ionic play might help you.