Responsive images

This commit is contained in:
Binnette 2020-04-09 10:28:47 +02:00
parent 8b28536bbb
commit 729049aa04

View file

@ -1294,7 +1294,6 @@ a.add-datalayer:hover,
} }
.umap-popup-container { .umap-popup-container {
flex-grow: 1; flex-grow: 1;
text-align: justify;
padding: 0 10px; padding: 0 10px;
} }
.leaflet-popup-content h3 { .leaflet-popup-content h3 {
@ -1312,18 +1311,13 @@ a.add-datalayer:hover,
.leaflet-contextmenu-icon { .leaflet-contextmenu-icon {
display: none; display: none;
} }
.umap-popup-content img {
max-width: 300px !important;
width: 100%;
}
.umap-popup-large iframe, .umap-popup-large iframe,
.umap-popup-large img { .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: 500px !important;
} }
#umap-ui-container .umap-popup-content img { .umap-popup-content img {
max-width: 400px !important; max-width: 100%;
width: 100%
} }
.umap-georss-link .popup-title { .umap-georss-link .popup-title {
text-align: center; text-align: center;