-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inserter: Fix arrows in RTL mode #51622
Conversation
Size Change: -2 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Flaky tests detected in d34ecf8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5303545704
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well, thank you.
There are still a couple of places in the UI where the arrow is incorrect, so let's keep the issue open.
Thanks. @carolinan I think the other places are already fixed, but I will double check later today and close it/create a PR to fix the rest. |
What?
Replace
chevronRight
withchevronLeft
for RTL users in the inserter.Why?
The arrows should point the other way for RTL users.
See #50721
How?
Check if the WP is running in RTL mode and serve the correct icon based on it.
Testing Instructions
Screenshots or screencast