Merge pull request #1297 from umap-project/popup-large-img-min-width

Add back min-width for img in popup-large
This commit is contained in:
Yohan Boniface 2023-09-01 17:23:01 +02:00 committed by GitHub
commit cb13b4e04d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1447,6 +1447,7 @@ a.add-datalayer:hover,
.leaflet-contextmenu-icon { .leaflet-contextmenu-icon {
display: none; display: none;
} }
.umap-popup-large img,
.umap-popup-large iframe { .umap-popup-large iframe {
/* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */ /* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */
max-width: 100% !important; max-width: 100% !important;
@ -1517,6 +1518,7 @@ a.add-datalayer:hover,
.umap-permanent-credits-container { .umap-permanent-credits-container {
max-width: 100%; max-width: 100%;
} }
.umap-popup-large img,
.umap-popup-large iframe { .umap-popup-large iframe {
min-width: 300px; min-width: 300px;
} }