Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70439

Ionic list with *ngFor: interline too large

$
0
0

@pimol wrote:

Hi All. I have a simply list to show, this is the html:

<ion-item *ngFor="let item of checklist" lines=none>
    <ion-label>
      <div class=popLine>
        {{ item.key }}
      </div>
    </ion-label>
    <ion-label>
      <div class=popLine>
        {{ item.dato }}
      </div>
    </ion-label>
</ion-item>

I can’t find out what is the css I have to modify to have less space between a line and the other…
There is always a space of about the same height the the line. I’m trying to have a more compact output…
I tried with padding-bottom and padding-top = 0 and --padding-top and bottom =0 in all the class i imagine: .popLine, ion-item, ion-label, ion-list in local and global css…

Any help?

Pietro

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>