You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: ion-item-divider end slot has no padding #23785
(It's a native Angular project without Ionic CLI. So info does not work.)
"@ionic/angular": "^5.6.7"
Additional Information
<ion-item-divider>:
So just add the same padding on the right. Voila.
Workaround (global styles):
ion-item-divider{padding:016px;}
But this should handle the framework. Or is there a reason why there is no padding?
Another related issue: div.item-divider-inner should not use overflow: hidden. It affects the end-slot to be cropted if moved (e.g. with transform). Because the padding comes from the parent, this element has the width minus padding and cops the text moved a bit outside. We could overflow the host?
The structure of the elements is a bit weird. Slot "start" is outside of ".item-divider-inner" And end slot is part of inner. etc.
Thanks, I can reproduce this issue. Looks like the start and end padding values for the divider in iOS mode uses the same padding as ion-item, but the divider in MD mode only uses the padding for ion-item for the start padding.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
liamdebeasi commentedon Aug 18, 2021
Thanks, I can reproduce this issue. Looks like the start and end padding values for the divider in iOS mode uses the same padding as
ion-item, but the divider in MD mode only uses the padding forion-itemfor the start padding.infacto commentedon Aug 19, 2021
I also wonder why this special layout? See source
Maybe requires a code redesign?
mapsandapps commentedon Mar 31, 2023
Thanks you for submitting this issue. It has been fixed in #27019, and a fix will be available in an upcoming release of Ionic Framework.
ionitron-bot commentedon Apr 30, 2023
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
fix(item-divider): set padding-end for md (ionic-team#27019)