Skip to content
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

[Bug] Tree lines in RTL mode at wrong side #151

Closed
aimeos opened this issue Mar 25, 2025 · 0 comments
Closed

[Bug] Tree lines in RTL mode at wrong side #151

aimeos opened this issue Mar 25, 2025 · 0 comments

Comments

@aimeos
Copy link

aimeos commented Mar 25, 2025

If rtl mode (right to left, e.g. for Arabic language) and treeLine options are enabled, the lines are still drawn on the left instead of the right side.

Also, the indention for each node is on the left too. This can be fixed by using padding-inline-start instead of padding-left for the indent option.

LTR mode:
Image

RTL mode:
Image

@aimeos aimeos closed this as completed Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant