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

Direction RTL #618

Closed
Falke-Design opened this issue Jul 2, 2020 · 2 comments
Closed

Direction RTL #618

Falke-Design opened this issue Jul 2, 2020 · 2 comments
Labels
bug fixed Issues that are fixed in develop or in a PR

Comments

@Falke-Design
Copy link
Collaborator

"Idea" from the SO Issue Stackoverflow

When in the CSS direction: rtl; is added to the body, the tooltips are placed wrong.

@Falke-Design
Copy link
Collaborator Author

Create Leaflet Issue: Leaflet/Leaflet#7201

@Falke-Design
Copy link
Collaborator Author

The action buttons are fixed but the problem if the tooltips will be exist longer, because this is a Leaflet Core Bug Leaflet/Leaflet#7201
rtl_tooltip

But this can be fixed if following is added to the css:

.leaflet-tooltip-pane > * {
    direction: rtl;
}
.leaflet-tooltip-pane {
    direction: ltr;
}

rtl_tooltip_working

@Falke-Design Falke-Design added the fixed Issues that are fixed in develop or in a PR label Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Issues that are fixed in develop or in a PR
Projects
None yet
Development

No branches or pull requests

2 participants