From 1ee285fc2f81a14269f514c2ec8cd345f09079eb Mon Sep 17 00:00:00 2001 From: fim100 <107080649+fim100@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:53:59 +0330 Subject: [PATCH] Update leaflet.css Default 'text-align' to 'right' for RTL umap --- umap/static/umap/vendors/leaflet/leaflet.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/umap/static/umap/vendors/leaflet/leaflet.css b/umap/static/umap/vendors/leaflet/leaflet.css index 2961b761..2cfb321b 100644 --- a/umap/static/umap/vendors/leaflet/leaflet.css +++ b/umap/static/umap/vendors/leaflet/leaflet.css @@ -484,6 +484,9 @@ svg.leaflet-image-layer.leaflet-interactive path { text-align: left; border-radius: 12px; } +html[dir="rtl"] .leaflet-popup-content-wrapper { + text-align: right; + } .leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3;