Skip to content

Commit 8059102

Browse files
committed
fix(item): multiple input appearance when using datetime
1 parent 081d394 commit 8059102

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core/src/components/item/item.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,18 @@ button, a {
493493
position: relative;
494494
}
495495

496+
// Chrome injects host styles that conflict with the
497+
// positioning of ion-datetime.
498+
// These styles reset the position so that ion-datetime
499+
// displays correctly with multiple inputs in an item.
500+
:host(.item-multiple-inputs) {
501+
@include rtl() {
502+
::slotted(ion-datetime) {
503+
@include position-horizontal(0, 0);
504+
}
505+
}
506+
}
507+
496508
// Item Textarea
497509
// --------------------------------------------------
498510

0 commit comments

Comments
 (0)