I try to add a Ion-List to my apllication with items build like |Image|Text|Button
The Image and the Button get centerd vertically, but the text does not.
I tried some CCS found on the Internet, which works fine in Browser preview but not on a real device (Samsung Galaxy S3 Mini, Android 4.1.2)
style="position: absolute; top: 50%; transform: translateY(-50%);"
Code
<ion-content>
<ion-list>
<ion-item class="item-avatar item-icon-right" collection-repeat="x in y" href="#/pages/{{x.id}}">
<img src="img/{{x.icon}}.png">
<div style="position: absolute; top: 50%; transform: translateY(-50%);">{{x.name}}</div>
<i class="icon ion-chevron-right icon-accessory"></i>
</ion-item>
</ion-list>
</ion-content>
On Device
You can try to use this css:
and apply it to your
<div>
and this is the whole content:
This ionic play might help you.
line-height works for me