Skip to content

Commit

Permalink
Grid: In RTL languages, the resize handles point in the opposite dire…
Browse files Browse the repository at this point in the history
…ction (WordPress#64995)

* Fixed the RTL resizing issue

* Removed comment, fix spacing

* Added else condition

* Revert "Fixed the RTL resizing issue"

This reverts commit 39cfde5.

* Updated left and right values for justification

Co-authored-by: rohitmathur-7 <rohitmathur7@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
  • Loading branch information
4 people authored Sep 13, 2024
1 parent a895274 commit 1664022
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ function GridItemResizerInner( {
}, [ blockElement, rootBlockElement ] );

const justification = {
right: 'flex-start',
left: 'flex-end',
right: 'left',
left: 'right',
};

const alignment = {
Expand Down

0 comments on commit 1664022

Please sign in to comment.