This commit is contained in:
Daniel Preussker
2015-11-05 09:49:24 +00:00
parent 73eaf5ebf6
commit 1a5bf414c3
2 changed files with 5 additions and 2 deletions

View File

@ -1754,10 +1754,14 @@ tr.search:nth-child(odd) {
top:30px; top:30px;
} }
#leaflet-map {
height: 600px;
}
.edit-storage-input { .edit-storage-input {
width: 100px; width: 100px;
} }
label { label {
font-weight: normal; font-weight: normal;
} }

View File

@ -152,7 +152,6 @@ marker.bindPopup(title);
$temp_output .= 'map.addLayer(markers); $temp_output .= 'map.addLayer(markers);
map.scrollWheelZoom.disable(); map.scrollWheelZoom.disable();
$(document).ready(function(){ $(document).ready(function(){
$("#leaflet-map").css("height",($("#leaflet-map").parent().innerHeight()-55) + "px");
$("#leaflet-map").on("click", function(event) { $("#leaflet-map").on("click", function(event) {
map.scrollWheelZoom.enable(); map.scrollWheelZoom.enable();
}); });