From d0ce5f68cd2288a96c3389d03c143dbbc0cd7137 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 31 Jul 2023 11:34:25 +0200 Subject: [PATCH] adapt iframe min-width for popup large fix #1236 --- umap/static/umap/map.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index ef430474..cd7f08d3 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1415,10 +1415,10 @@ a.add-datalayer:hover, .leaflet-contextmenu-icon { display: none; } -.umap-popup-large iframe, -.umap-popup-large img { +.umap-popup-large iframe { /* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */ - max-width: 500px !important; + max-width: 100% !important; + min-width: 500px; } .umap-popup-content img { max-width: 100%;