From 8c6f500419b220233f7947e7894996410df59e8c Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 17 Mar 2020 19:21:50 +0100 Subject: [PATCH] Set icon img max-height fix #143 --- umap/static/umap/map.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index ca928bd2..62f958bc 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1000,6 +1000,7 @@ a.add-datalayer:hover, .umap-div-icon .icon_container img { vertical-align: middle; max-width: 24px!important; /* leaflet.css has !important, so... */ + max-height: 24px!important; } .umap-div-icon .icon_arrow { border-left: 8px solid transparent; @@ -1035,6 +1036,7 @@ a.add-datalayer:hover, .umap-drop-icon .icon_container img { vertical-align: middle; max-width: 24px !important; + max-height: 24px!important; } .umap-div-icon .icon_container span, .umap-drop-icon .icon_container span {