diff --git a/html/css/styles.css b/html/css/styles.css index d9fc4287d..46abbc37f 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -1754,10 +1754,14 @@ tr.search:nth-child(odd) { top:30px; } +#leaflet-map { + height: 600px; +} + .edit-storage-input { width: 100px; } label { font-weight: normal; -} +} \ No newline at end of file diff --git a/html/includes/common/worldmap.inc.php b/html/includes/common/worldmap.inc.php index bb6b48e01..bf9e6f36e 100644 --- a/html/includes/common/worldmap.inc.php +++ b/html/includes/common/worldmap.inc.php @@ -152,7 +152,6 @@ marker.bindPopup(title); $temp_output .= 'map.addLayer(markers); map.scrollWheelZoom.disable(); $(document).ready(function(){ - $("#leaflet-map").css("height",($("#leaflet-map").parent().innerHeight()-55) + "px"); $("#leaflet-map").on("click", function(event) { map.scrollWheelZoom.enable(); });