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

Tooltip text is not aligned correctly in hebrew locale #1038

Open
Hatzilu opened this issue Feb 16, 2025 · 0 comments · May be fixed by #1039
Open

Tooltip text is not aligned correctly in hebrew locale #1038

Hatzilu opened this issue Feb 16, 2025 · 0 comments · May be fixed by #1039
Assignees
Labels
CSS related to the design, without affecting business logic frontend frontend developers issue

Comments

@Hatzilu
Copy link

Hatzilu commented Feb 16, 2025

The tooltip text for the heading "קיום נסיעות" displays the text aligned to the left, instead of to the right

Image
This makes text that contains both Hebrew and English hard to understand.

I think the text should be aligned to the right since the app is in Hebrew.

I fixed this issue in my fork: https://github.com/Hatzilu/open-bus-map-search
by changing the dir and lang attributes whenever the user changes the locale
I also added a default dir attribute to the html tag.
This seems to fix the issue:

Image

This change will affect the entire app and may cause regressions in the UI, so alternatively, we can also treat this case specifically by applying css to the tooltip text itself.

@Hatzilu Hatzilu changed the title Tooltip text is not aligned correctly Tooltip text is not aligned correctly in hebrew locale Feb 16, 2025
@Hatzilu Hatzilu linked a pull request Feb 16, 2025 that will close this issue
@NoamGaash NoamGaash added CSS related to the design, without affecting business logic frontend frontend developers issue labels Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS related to the design, without affecting business logic frontend frontend developers issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants