Ionic 4 - ion-card remove padding

How can i remove padding from ion-card ?
No docs about this… :thinking:

Thanks for help

1 Like


.sc-ion-card-md-h, .sc-ion-card-ios-h {
    margin-top: 0;
    margin-bottom: 0;
    -webkit-margin-start: 0;
    margin-inline-start: 0;
    -webkit-margin-end: 0;
    margin-inline-end: 0;

no effect… :frowning:

Is there any solution?
Same problem faced.

I have solved this.
It’s not padding its margin

So Ionic-4 have no-padding and no-margin options just put it on ion-card

this works perfectly in ionic 4 for me

1 Like