Reduce margin between elements inside a card?

I have a card with some elements displayed inside of it:

    <ion-card *ngFor="let card of cards">
      <ion-item>
        <ion-icon name="{{card.icon}}" item-start class="albums-icon"></ion-icon>
        {{card.title}}
        <ion-badge item-end>{{card.punctuation}}</ion-badge>
      </ion-item>
    </ion-card>

I want to know how to decrease the margin generated between this elements

        <ion-icon name="{{card.icon}}" item-start class="albums-icon"></ion-icon>
        {{card.title}}

you have to write:

<ion-card>
      <ion-card-content no-padding>
                    //your content hear
      </ion-card-content>
</ion-card>

That doesn’t works at all

1 Like

first thing how you know it is margin or padding.

try to set style attribute within it set style=“margin:0px”

I know because i modified it in CSS through the inspector device