diff --git a/.changeset/shiny-insects-judge.md b/.changeset/shiny-insects-judge.md new file mode 100644 index 0000000000..cccd692807 --- /dev/null +++ b/.changeset/shiny-insects-judge.md @@ -0,0 +1,5 @@ +--- +'@commercetools-uikit/select-utils': patch +--- + +Fixes an styling issue when the select input uses an icon and a long value. diff --git a/packages/components/inputs/select-utils/src/create-select-styles.ts b/packages/components/inputs/select-utils/src/create-select-styles.ts index 72edff847b..6ec967f6f1 100644 --- a/packages/components/inputs/select-utils/src/create-select-styles.ts +++ b/packages/components/inputs/select-utils/src/create-select-styles.ts @@ -375,6 +375,7 @@ const placeholderStyles = (props: TProps) => (base: TBase) => { const valueContainerStyles = (props: TProps) => (base: TBase) => { return { ...base, + flexWrap: 'nowrap', padding: '0', backgroundColor: 'none', overflow: 'hidden',