Merge pull request #1238 from umap-project/iframe-popup-large

adapt iframe min-width for popup large
This commit is contained in:
Yohan Boniface 2023-08-15 16:39:13 +02:00 committed by GitHub
commit b083bae906
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1440,10 +1440,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%;
@ -1500,6 +1500,9 @@ a.add-datalayer:hover,
.umap-permanent-credits-container {
max-width: 100%;
}
.umap-popup-large iframe {
min-width: 300px;
}
}
/* ****** */