I’m trying to create contact list with avatar. My question is how can I make the list divider extend to its full width?
I want it to become like this:
This is my html code for list
<ion-list>
<button ion-item detail-push text-wrap *ngFor="let data of filteredDrivers; let i = index" (click)="gotoDetails(i)" class="item-divider">
<ion-avatar item-start >
<img src="../assets/imgs/person-icon.jpg">
</ion-avatar>
<h2>{{data.name}}</h2>
<p><ion-icon name="call" item-start></ion-icon>+{{data.phone}}</p>
</button>
</ion-list>