Hi! I’ve been having trouble making ion-item elements to have two button alligned to the right of the item.
I’ve tried:
> <ion-item class="item item-icon-right" ng-repeat="task in tasks">
> <button class="icon ion-camera button button-icon" ng-click="takePicture({{task}})"></button>
> <button class="icon ion-android-microphone button button-icon" ng-click="captureAudio({{task}})"></button>
> {{task.title}}
> </ion-item>
but that collapses both buttons to the right, one covering the other. So I added to the style.css:
button.ion-android-microphone {
padding-right: 50px;
}
but in that case, although the layout is ok, the buttons don’t work propperly. Don’t matter which of both buttons I tap, it always triggers the ion-android-microphone one.
What is the right way to “padding-right” a ionic button element?