From 5681cc8a84399183ed71869f92f7ce575b3c108a Mon Sep 17 00:00:00 2001 From: Tamas Kovacs Date: Tue, 24 Sep 2024 14:27:03 +0200 Subject: [PATCH] fix(ui-text-input): icon in SimpleSelect is vertically centered Closes: INSTUI-4226 --- packages/ui-text-input/src/TextInput/styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui-text-input/src/TextInput/styles.ts b/packages/ui-text-input/src/TextInput/styles.ts index 3bd79c1f5c..84ef79aeec 100644 --- a/packages/ui-text-input/src/TextInput/styles.ts +++ b/packages/ui-text-input/src/TextInput/styles.ts @@ -199,6 +199,8 @@ const generateStyle = ( ...(!shouldNotWrap && { flexWrap: 'wrap' }) }, beforeElement: { + display: 'inline-flex', + alignItems: 'center', label: 'textInput__beforeElement', ...flexItemBase, paddingInlineStart: componentTheme.padding,