Skip to content

fix(ui5-side-navigation): correct divider line position in RTL #11441

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

Merged
merged 2 commits into from
May 8, 2025

Conversation

duygu-rmdn
Copy link
Contributor

@duygu-rmdn duygu-rmdn commented Apr 29, 2025

fixes: #11433

Shift the RTL mode transformation from the SVG element of ui5-icon to the SVG group, ensuring that border-inline-start is accurate in RTL mode.

@duygu-rmdn duygu-rmdn requested review from LidiyaGeorgieva and a team April 29, 2025 13:05
@nnaydenow
Copy link
Contributor

You need to check if the selector is broken somehow. The idea of logical css props is to not use these rtl parameters.

https://jsbin.com/rasubuhiva/2/edit?html,output

@duygu-rmdn duygu-rmdn requested review from TeodorTaushanov and removed request for a team and LidiyaGeorgieva April 30, 2025 12:16
Copy link
Member

@TeodorTaushanov TeodorTaushanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue in the ui5-icon component, as it transform itself in rtl mode.

Revert your changes and modify in main\src\themes\icon.css

.ui5-icon-root:not([dir="ltr"]) {

to

.ui5-icon-root:not([dir="ltr"]) > g {

Add team Pirin for review.

@duygu-rmdn duygu-rmdn requested a review from a team May 2, 2025 13:56
@TeodorTaushanov TeodorTaushanov self-requested a review May 2, 2025 14:03
@duygu-rmdn duygu-rmdn merged commit 5281a66 into main May 8, 2025
12 checks passed
@duygu-rmdn duygu-rmdn deleted the divider-line-RTL branch May 8, 2025 07:06
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.11.0-rc.0 🎉

The release is available on v2.11.0-rc.0

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui5-side-navigation]: divider line in two-click items is with wrong position in RTL
5 participants