@Nats97 wrote:
I want to put some content o next line inside the
ion-item
but this doesn’t seems to be working.
I actually want the price to be on next line. and trash icon on right side
already triedion-text-wrap
and other thing, but still in vain.
here is how I’m trying
`
<ion-row> <ion-col size="12"> <ion-list> <ion-item *ngFor="let product of cart"> <ion-avatar [routerLink]="['/product-detail',product.id]"> <!-- <ion-thumbnail> --> <img src="{{product.images[0].src}}" /> <!-- </img> --> <!-- </ion-thumbnail> --> </ion-avatar> <ion-text [routerLink]="['/product-detail',product.id]" style="margin-left: 20px;"> {{product.name}}</ion-text> <hr /> <br/> <!-- <ion-text>{{product.price}}</ion-text> --> <div class="offer-details"> <!-- <ion-button style="padding:unset !important"> --> <ion-icon class='deleteIcon' name="trash" slot="icon-only"></ion-icon> <!-- </ion-button> --> </div> <ion-label> Price: {{product.price}} </ion-label> </ion-item> </ion-list> </ion-col> </ion-row> </ion-grid>
`
Thanks in advance to helping hands
Posts: 1
Participants: 1