Set icon img max-height

fix #143
This commit is contained in:
Yohan Boniface 2020-03-17 19:21:50 +01:00
parent f8187c0d20
commit 8c6f500419

View file

@ -1000,6 +1000,7 @@ a.add-datalayer:hover,
.umap-div-icon .icon_container img { .umap-div-icon .icon_container img {
vertical-align: middle; vertical-align: middle;
max-width: 24px!important; /* leaflet.css has !important, so... */ max-width: 24px!important; /* leaflet.css has !important, so... */
max-height: 24px!important;
} }
.umap-div-icon .icon_arrow { .umap-div-icon .icon_arrow {
border-left: 8px solid transparent; border-left: 8px solid transparent;
@ -1035,6 +1036,7 @@ a.add-datalayer:hover,
.umap-drop-icon .icon_container img { .umap-drop-icon .icon_container img {
vertical-align: middle; vertical-align: middle;
max-width: 24px !important; max-width: 24px !important;
max-height: 24px!important;
} }
.umap-div-icon .icon_container span, .umap-div-icon .icon_container span,
.umap-drop-icon .icon_container span { .umap-drop-icon .icon_container span {