From 9e2d319f77b95efd064f65beb175673aad542b92 Mon Sep 17 00:00:00 2001
From: anonymous <anonymous>
Date: Tue, 29 Jan 2019 14:58:16 +0100
Subject: [PATCH] fix map control for ie 11

---
 ckanext/odsh/public/odsh.css | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ckanext/odsh/public/odsh.css b/ckanext/odsh/public/odsh.css
index 344443e7..ce8616e6 100644
--- a/ckanext/odsh/public/odsh.css
+++ b/ckanext/odsh/public/odsh.css
@@ -1267,6 +1267,13 @@ body {
     float: left;
     padding: 12px;
 }
+
+/* on ie11 leaflet-touch is active and prevents correct drawing of controls */
+.leaflet-touch .leaflet-draw-toolbar a.leaflet-draw-draw-rectangle 
+{
+    background-position: 50% 50%
+}
+
 .module.module-narrow.dataset-map{
     margin: 5px 0;
 }
-- 
GitLab