From 2956abffb4df645c3838bc6897815569d659ff0c Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Wed, 4 Mar 2020 22:50:32 +0900 Subject: [PATCH 1/2] update css to specify none for border and box-shadow of img --- inst/htmlwidgets/lib/leaflet/leaflet.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inst/htmlwidgets/lib/leaflet/leaflet.css b/inst/htmlwidgets/lib/leaflet/leaflet.css index 230e5bad1..91b0db62e 100644 --- a/inst/htmlwidgets/lib/leaflet/leaflet.css +++ b/inst/htmlwidgets/lib/leaflet/leaflet.css @@ -48,6 +48,8 @@ .leaflet-container img.leaflet-image-layer { max-width: none !important; max-height: none !important; + border: none; + box-shadow: none; } .leaflet-container.leaflet-touch-zoom { From 823d189f1c01837b0b2e8e04c151b58723c42158 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Wed, 4 Mar 2020 22:51:07 +0900 Subject: [PATCH 2/2] update NEWS --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d0b0da358..82447e9f3 100644 --- a/NEWS +++ b/NEWS @@ -8,7 +8,7 @@ FEATURES * BUG FIXES and IMPROVEMENTS -* +* Updated CSS to specify `none` for `border` and `box-shadow` properties of `img` tags in leaflet. This avoids unexpected inheritance of these properties for example in `revealjs::revealjs_presentation`.