diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 14f7c539..3a8b4435 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1,3 +1,24 @@ +/* ************* */ +/* temporary fix */ +/* ************* */ +/* https://github.com/umap-project/umap/pull/2046#issuecomment-2278046469 */ +html[dir="rtl"] .leaflet-inplace-toolbar { + direction: ltr; +} +html[dir="rtl"] .leaflet-inplace-toolbar > * { + direction: rtl; +} +html[dir="rtl"] .leaflet-tooltip-pane { + direction: ltr; +} +html[dir="rtl"] .leaflet-tooltip-pane > * { + direction: rtl; +} +.marker-cluster div { /* fix cluster icon for rtl */ + margin-left: unset; + margin-inline-start: 5px; +} + /* *********** */ /* Map details */ /* *********** */