Problem/Motivation
For a multilingual website when we switch to an RTL language and try to open a media library widget using Varbase Layout Builder, the media menu in media popup is shifted to left.
Steps to reproduce
Install a new Varbase build with multilingual and switch it to RTL, then open any layout builder page and add media block, the media menu is shifted to left.
Proposed resolution
Add enhancements styling to media library inside layout builder/themes/claro for RTL.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ✅ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-9.0.7, varbase_layout_builder-10.0.15
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
Before:

After:

API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3277279 by Abdullah Yassin: Fixed RTL style for media library menu popup
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | Screenshot from 2022-05-11 16-16-56.png | 40.78 KB | alaa jwiehan |
| #4 | Screenshot from 2022-04-27 05-04-18.png | 38.33 KB | Abdullah Yassin |
| Screenshot from 2022-04-27 04-12-18.png | 35.59 KB | Abdullah Yassin |
Issue fork varbase_layout_builder-3277279
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
Abdullah Yassin commentedComment #5
Abdullah Yassin commentedComment #6
rajab natshahComment #9
rajab natshahMerged. Thank you :)
This fix could be reported back to Drupal Core on the Claro theme
and on the Gin Admin Theme, Gin Layout Builder, and the Layout Builder Claro
Comment #10
rajab natshahComment #11
rajab natshahComment #14
alaa jwiehan commentedComment #15
rajab natshahComment #16
rajab natshah✅ Released varbase_layout_builder-10.0.15
Comment #18
rajab natshah✅ Released varbase-9.0.7