Ion-item align center of buttons


#1

Hi,

I want to have an ion-item with a vertically centered button inside, I didn’t get it work :frowning:

like the icon?

 <ion-item class="item-icon-left item-icon-right item-button-right" ng-repeat="obj in objects.objects"
            type="item-text-wrap" href="#/tab/objects/{{obj.id}}">
    <i class="icon ion-home"></i>
    <h2>{{obj.id}}</h2>

    <p>{{obj.description}}</p>
    <button style="right:100px" class="button button-positive" type="submit">Anmelden</button>
    <span class="badge badge-positive">0</span>
    <i class="icon ion-chevron-right icon-accessory"></i>
  </ion-item>

#2

try adding the class text-center to the ion-items


#3

thx for your hint, I’ll try it :smile:

Meex