Skip to content

Commit

Permalink
PaletteEdit: Fix padding in RTL mode (#54034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Walbø Johnsgård authored Sep 4, 2023
1 parent 9f653c5 commit e94390b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- Make the `Popover.Slot` optional and render popovers at the bottom of the document's body by default. ([#53889](https://github.com/WordPress/gutenberg/pull/53889), [#53982](https://github.com/WordPress/gutenberg/pull/53982)).

### Bug Fix

- `PaletteEdit`: Fix padding in RTL languages ([#54034](https://github.com/WordPress/gutenberg/pull/54034)).

## 25.7.0 (2023-08-31)

### Enhancements
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/palette-edit/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export const NameInputControl = styled( InputControl )`
`;

export const PaletteItem = styled( View )`
padding: 3px 0 3px ${ space( 3 ) };
padding-block: 3px;
padding-inline-start: ${ space( 3 ) };
border: 1px solid ${ CONFIG.surfaceBorderColor };
border-bottom-color: transparent;
&:first-of-type {
Expand Down

0 comments on commit e94390b

Please sign in to comment.