Skip to content

Commit

Permalink
(Custom)SelectControl: Truncate long options (#43301)
Browse files Browse the repository at this point in the history
* (Custom)SelectControl: Truncate long options

* Add changelog
  • Loading branch information
mirka authored Aug 17, 2022
1 parent 6b2ba88 commit f23244e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Bug Fix

- `SelectControl`, `CustomSelectControl`: Truncate long option strings ([#43301](https://github.com/WordPress/gutenberg/pull/43301)).
- `Popover`: fix and improve opening animation ([#43186](https://github.com/WordPress/gutenberg/pull/43186)).
- `Popover`: fix incorrect deps in hooks resulting in incorrect positioning after calling `update` ([#43267](https://github.com/WordPress/gutenberg/pull/43267/)).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ export const Select = styled.select< SelectProps >`
width: 100%;
max-width: none;
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
${ disabledStyles };
${ fontSizeStyles };
Expand Down

0 comments on commit f23244e

Please sign in to comment.