From f86dca9ac166ebd237c82ca53dd07e89304e9529 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 17 Mar 2020 19:39:14 +0100 Subject: [PATCH] Adapt iframe and image width when in right panel fix #184 --- umap/static/umap/map.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index ca928bd2..8642d0d6 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1304,6 +1304,10 @@ a.add-datalayer:hover, /* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */ max-width: 500px !important; } +#umap-ui-container .umap-popup-content img, +#umap-ui-container .umap-popup-content iframe { + max-width: 400px !important; +} .umap-georss-link .popup-title { text-align: center; }