Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Ionic 5 Extra padding issue

$
0
0

Just upgraded from v4 to v5 and I’m getting extra padding between images on an ion-card (eg)

<img images-filter src="../../assets/imgs/xxxxxxx1.jpg" />
<img images-filter src="../../assets/imgs/xxxxxxx2.jpg" />
<img images-filter src="../../assets/imgs/xxxxxxx3.jpg" />

In v4 there was no extra padding between the images, in v5 there is and I can’t find out how to remove it without using

style="margin-top:-4px"

In addition, there’s extra padding on the ion-card at the bottom so there’s a border after the last image.

Any ideas how to remove the padding or get around the issue?

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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