Merge pull request #1343 from umap-project/popup-large-width
Set an explicit width to popup large container
This commit is contained in:
commit
af78d1e348
1 changed files with 6 additions and 2 deletions
|
@ -1463,12 +1463,14 @@ 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;
|
||||||
min-width: 500px;
|
min-width: 500px;
|
||||||
}
|
}
|
||||||
|
.umap-popup-large .umap-popup-content {
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
.umap-popup-content img {
|
.umap-popup-content img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1534,10 +1536,12 @@ 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;
|
||||||
}
|
}
|
||||||
|
.umap-popup-large .umap-popup-content {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ****** */
|
/* ****** */
|
||||||
|
|
Loading…
Reference in a new issue