I want sliding card view but I can't


#1

Hi,

I’m tring to make sliding card view but padding of ion-item blocks me.

  <ion-item-sliding *ngFor="let mygroup of mygroups | async" >

  <ion-item (click)="enterToMyGroup(mygroup)" no-padding>
      <ion-card>....

This is my screen. ion-item has default padding like below

but I want this!!

So If I add no-padding

:scream:
How can I remove right-padding?
Plz help me brothers!


#2

Perhaps your ion-content applies the padding. Do you have something like this:

<ion-content padding>

In that case remove the padding directive there!