-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(masthead): support proper icon direction in RTL languages (#12032)
### Related Ticket(s) https://jsw.ibm.com/browse/ADCMS-6275 ### Description As part of AEM's effort to launch the Arabic geo, we need to add the ability to flip the arrow icons to point in the `inline-end` direction. <img width="1287" alt="Screenshot 2024-09-16 at 11 49 23 AM" src="https://github.com/user-attachments/assets/aa98c5b4-c2a5-4b65-a7bf-a66e7b2a0815"> <img width="1287" alt="Screenshot 2024-09-16 at 11 49 30 AM" src="https://github.com/user-attachments/assets/b88fefb2-99e9-4aae-a199-1b17dbcd52ec"> This PR updates masthead component files using `ArrowRight` icons to conditionally display `ArrowLeft` icons when `document.dir.toLowerCase === 'rtl'` ### Changelog **Changed** - Allow masthead/leftnav components to flip arrow directions for RTL support
- Loading branch information
Showing
7 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters