From 199a1cee3da7d934ae6e0a2931acc7f69980c2db Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 10 Jan 2024 13:06:09 -0500 Subject: [PATCH] fix: content without ion-label wrapps too --- core/src/components/item/item.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/components/item/item.scss b/core/src/components/item/item.scss index 73423ae364f..95ac9156e79 100644 --- a/core/src/components/item/item.scss +++ b/core/src/components/item/item.scss @@ -410,6 +410,12 @@ button, a { flex-direction: inherit; + // Flex wrap is required here in order to wrap + // content in the default slot (such as text + // and a button) that doesn't fit on the same line + // when not using ion-label + flex-wrap: wrap; + align-items: inherit; align-self: stretch;