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
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
In v7, some elements have a new mode that get their labels as props such as: ion-input, ion-select. This "non-legacy" mode sets their min-height to 56px (why though?), see here:
However, other elements such as ion-toggle or ion-label (used for navigation in an ion-item) do not have a label prop and hence, don't have this rule applied. This results in inconsistent vertical spacing. See the demo linked below.
Expected Behavior
Make spacing consistent
Revert (or explain) the choice of setting a, imho, rather unpleasant min-height of 56px.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
In v7, some elements have a new mode that get their labels as props such as:
ion-input,ion-select. This "non-legacy" mode sets theirmin-heightto 56px (why though?), see here:ionic-framework/core/src/components/select/select.md.scss
Line 23 in c801e2a
However, other elements such as
ion-toggleorion-label(used for navigation in anion-item) do not have a label prop and hence, don't have this rule applied. This results in inconsistent vertical spacing. See the demo linked below.Expected Behavior
Steps to Reproduce
See demo
Code Reproduction URL
https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0ALeBbKIANCAGYCWMYaA2qAHYCGuEamO+RIsA9nYn6wA87KAD4AOnQAEU4RAZIJ0mbPhl4MUQEleZWFIAqEMPEEB6NRohKVssLABOZAA7wp8AJ7OIAXnEhcbiQAVxh-KTAHWD8QHHhnMFQzM1gkOgwAKzAkaDIANwcMOgh4MzpnXDMAATJdWBTuBwgzJDITM1q6PQ66jGNcTLB-UXN7J1cbFUEoMjoAaykmqBiTD0osCBLwrCaSGLiEpJS0wZyZgqKSsorqzu6eJpSwMB6u2AwAI2C6JBgMWGe4TMk3MGwUSkEHyCHhBnQAtGCcg5JrZBPD4NxuFAPgwHFIeFBGjFnE5cLiPMNJLZqbJ0epNAAJbjMcx0qwoqavOEYrE45FU2RcxEQfnKNG8OE8PgQPj4qAMZ4xeHOBStOgAc0pylRzlEAHVoDxmO5uFIAMr8WAUKQAQWcznN8FxiEK5l1AtR8Jm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