<div> width inside <ion-item>

For some reason div is occupying only ~80% of the parent’s width. How to make it 100%?

ion-item
div style=“width: 100%; padding: 0px; margin: 0px;”
/div
/ion-item

Thank you,
Manju

You should be able to set the CSS custom properties --padding-start or --inner-padding-start on ion-item.

Reference

1 Like

Setting --inner-padding-end/start worked.

Thank you!

1 Like