From 91bd271a28742c2302035e46460f63aa062ea5a7 Mon Sep 17 00:00:00 2001 From: Matyas Szabo Date: Fri, 6 Dec 2024 16:54:41 +0100 Subject: [PATCH] fix(ui-text-input): fix TextInput, Select, SimpleSelect overflowing when there are lots of renderBefore elements TEST PLAN: Add lots of renderBefore elements to TextInput, e.g. Tag-s. They should wrap, not overflow --- packages/ui-text-input/src/TextInput/styles.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui-text-input/src/TextInput/styles.ts b/packages/ui-text-input/src/TextInput/styles.ts index db011516d0..b796d01e73 100644 --- a/packages/ui-text-input/src/TextInput/styles.ts +++ b/packages/ui-text-input/src/TextInput/styles.ts @@ -203,6 +203,7 @@ const generateStyle = ( }, beforeElement: { display: 'inline-flex', + flexWrap: 'wrap', alignItems: 'center', label: 'textInput__beforeElement', ...flexItemBase,