@CrisDeveloper96 wrote:
How can I adjust an image to the size of ion-card-content. This is mi code:
HTML:
<ion-row *ngFor=‘let datos of data | filtros:textoBuscar’>
<ion-col *ngFor="let datosI of datos.datos " size=‘4’ >
<ion-img class=“home__imagen” [src]=“datosI.imagen”>
CSS:
ion-card-content.card__content.card-content-md {
padding-left: 0;
padding-right: 0;
padding-top: 0;
padding-bottom: 1px;
-webkit-padding-start: 0px;
padding-inline-start: 0px;
-webkit-padding-end: 0px;
padding-inline-end: 0px;
}
Posts: 1
Participants: 1