adapt iframe min-width for popup large

fix #1236
This commit is contained in:
Yohan Boniface 2023-07-31 11:34:25 +02:00
parent d56162390d
commit d0ce5f68cd

View file

@ -1415,10 +1415,10 @@ a.add-datalayer:hover,
.leaflet-contextmenu-icon { .leaflet-contextmenu-icon {
display: none; display: none;
} }
.umap-popup-large iframe, .umap-popup-large iframe {
.umap-popup-large img {
/* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */ /* 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 { .umap-popup-content img {
max-width: 100%; max-width: 100%;