Skip to content

Commit c6be0b5

Browse files
committed
fix(item): add back min-height initial and inherit line-height
1 parent aade9df commit c6be0b5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/components/item/item.common.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@
191191

192192
background: var(--background);
193193

194+
line-height: inherit;
195+
194196
overflow: inherit;
195197

196198
z-index: 1;

core/src/components/item/item.ionic.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
.item-inner {
3434
// This prevents the padding/margin from
3535
// being excluded from the height calculation.
36-
// TODO this breaks Accordion styles
37-
// min-height: initial;
36+
min-height: initial;
3837
}
3938

4039
// Item Detail Icon

0 commit comments

Comments
 (0)