From 87f6b98a99d22b6d3666f6b3d70c2d8a96ca3872 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 1 Sep 2023 17:21:43 +0200 Subject: [PATCH] Add back min-width for img in popup-large --- umap/static/umap/map.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index d78477e4..240e3783 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1447,6 +1447,7 @@ a.add-datalayer:hover, .leaflet-contextmenu-icon { display: none; } +.umap-popup-large img, .umap-popup-large iframe { /* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */ max-width: 100% !important; @@ -1517,6 +1518,7 @@ a.add-datalayer:hover, .umap-permanent-credits-container { max-width: 100%; } + .umap-popup-large img, .umap-popup-large iframe { min-width: 300px; }