diff --git a/scripts/map.js b/scripts/map.js index f9bc5bd1..9eef6132 100755 --- a/scripts/map.js +++ b/scripts/map.js @@ -685,7 +685,7 @@ $(window).on('load', function() { changeAttribution(); // Append icons to categories in markers legend - $('#points-legend label span').each(function(i) { + $('#points-legend input+span').each(function(i) { // add to that follows var g = $(this).text().trim(); var legendIcon = (group2color[ g ].indexOf('.') > 0) ? '' diff --git a/style.css b/style.css index 20ab9aae..83538bb6 100644 --- a/style.css +++ b/style.css @@ -60,10 +60,11 @@ form { } .polygons-legend-scale i { - width: 18px; - height: 18px; + width: 16px; + height: 16px; float: left; margin-right: 8px; + border-bottom: 1px solid rgba(0,0,0,0); } .leaflet-popup-content {