Skip to content

Commit

Permalink
docs(select): update select styleguide with dropdown width information
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBerliner committed Jan 28, 2025
1 parent 632c451 commit f57a0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/documentation/docs/controls/_select_styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ A select component allows users to choose from a list of options. It supports si
- **Overflow:**
- The text in an input field is truncated with the length of the container.
- On the multiselect, the selected items break into a second line and then show a scrollbar if it extends beyond two lines.
- The dropdown list is scrollable when the list exceeds the container height. Its width is defined by the longest item.
- The dropdown list is scrollable when the list exceeds the container height. Its width is defined by the longest item. The maximum width of the dropdown is set to 100% by default. Both the width and maximum width of the dropdown can be defined in rem.
- **Alignment:** Selects are always aligned to the left, while right alignment is reserved exclusively for [number inputs](input-number.mdx).

### States
Expand Down

0 comments on commit f57a0f9

Please sign in to comment.