Skip to content

Commit

Permalink
Set min-width property to SelectInput (#2654)
Browse files Browse the repository at this point in the history
* chore: added min-width prop to selectInput

* chore: updating changeset
  • Loading branch information
chloe0592 authored Nov 28, 2023
1 parent b8ed8e4 commit e5f42ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-owls-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-uikit/select-utils': patch
---

Updated `SelectInput` based components so the dropdown layer has a minimum width (`constraint 3`).
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const menuStyles = (props: TProps) => (base: TBase) => {
return base.borderColorForInput;
})(),
width: props.horizontalConstraint === 'auto' ? 'auto' : '100%',
minWidth: designTokens.constraint3,
};
};

Expand Down

1 comment on commit e5f42ff

@vercel
Copy link

@vercel vercel bot commented on e5f42ff Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.