From 3ecd4273f3aab07736fdf0679c0874c273a85a0b Mon Sep 17 00:00:00 2001 From: Jon Woyame Date: Wed, 1 Jun 2016 10:21:43 -0400 Subject: [PATCH] disable pointer events on popup tip (#4599) --- dist/leaflet.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/leaflet.css b/dist/leaflet.css index 33295e3d..0aa9fc29 100644 --- a/dist/leaflet.css +++ b/dist/leaflet.css @@ -430,6 +430,7 @@ .leaflet-popup { position: absolute; text-align: center; + margin-bottom: 20px; } .leaflet-popup-content-wrapper { padding: 1px; @@ -444,11 +445,13 @@ margin: 18px 0; } .leaflet-popup-tip-container { - margin: 0 auto; width: 40px; height: 20px; - position: relative; + position: absolute; + left: 50%; + margin-left: -20px; overflow: hidden; + pointer-events: none; } .leaflet-popup-tip { width: 17px;