Skip to content

Commit 542c75f

Browse files
committed
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
1 parent dbb208d commit 542c75f

File tree

1 file changed

+1
-0
lines changed
  • packages/ui-text-input/src/TextInput

1 file changed

+1
-0
lines changed

packages/ui-text-input/src/TextInput/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ const generateStyle = (
203203
},
204204
beforeElement: {
205205
display: 'inline-flex',
206+
flexWrap: 'wrap',
206207
alignItems: 'center',
207208
label: 'textInput__beforeElement',
208209
...flexItemBase,

0 commit comments

Comments
 (0)