Skip to content

Commit

Permalink
CustomSelectControl V2: fix trigger RTL text alignment(WordPress#62869)
Browse files Browse the repository at this point in the history
* CustomSelectControl V2: fix trigger text alignment in RTL languages

* CHANGELOG

---

Co-authored-by: ciampo <[email protected]>
Co-authored-by: mirka <[email protected]>
  • Loading branch information
3 people authored Jun 26, 2024
1 parent 37a60b2 commit cea3b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- `CustomSelectControlV2`: add root element wrapper. ([#62803](https://github.com/WordPress/gutenberg/pull/62803))
- `CustomSelectControlV2`: fix popover styles. ([#62821](https://github.com/WordPress/gutenberg/pull/62821))
- `CustomSelectControlV2`: fix trigger text alignment in RTL languages ([#62869](https://github.com/WordPress/gutenberg/pull/62869)).

## 28.2.0 (2024-06-26)

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/custom-select-control-v2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const Select = styled( Ariakit.Select, {
cursor: pointer;
font-family: inherit;
font-size: ${ CONFIG.fontSize };
text-align: left;
text-align: start;
width: 100%;
&[data-focus-visible] {
Expand Down

0 comments on commit cea3b8d

Please sign in to comment.