0
I have the following HTML:
<ion-grid fixed>
<ion-row>
<ion-col size="12">
<ion-button (click)="go('adopt')" class="button" color="dark">
<img src="./assets/images/pet-shelter.webp" alt="">
<p>{{ 'HOME.CALL-ADOPT' | translate }}</p>
</ion-button>
<ion-button (click)="go('register')" class="button" color="dark">
<img src="./assets/images/register.webp" alt="">
<p>{{ 'HOME.CALL-REGISTER' | translate }}</p>
</ion-button>
</ion-col>
</ion-row>
</ion-grid>
CSS:
img {
width: 70px;
}
ion-button {
width: 100%;
height: 220px;
}
I would like the image to be up in the middle and the text below, but they are on the same line.