From f9ba7f3c50a4dd430122903469877b61b6610b85 Mon Sep 17 00:00:00 2001 From: fim100 <107080649+fim100@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:02:09 +0330 Subject: [PATCH] Update map.css --- umap/static/umap/map.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 */ /* *********** */