diff --git a/snippets/map.html b/snippets/map.html
index 6da52ef..bd76808 100644
--- a/snippets/map.html
+++ b/snippets/map.html
@@ -18,14 +18,14 @@
-
-
-
+
+
-
+
diff --git a/static/css/map.css b/static/css/map.css
deleted file mode 100644
index 509cb69..0000000
--- a/static/css/map.css
+++ /dev/null
@@ -1,3 +0,0 @@
-.map {
- height: 350px;
-}
diff --git a/static/css/wo-bisch-web-custom.css b/static/css/wo-bisch-web-custom.css
index 691edb1..0f400bc 100644
--- a/static/css/wo-bisch-web-custom.css
+++ b/static/css/wo-bisch-web-custom.css
@@ -1,9 +1,9 @@
-html,body,.section,.container {
+html,body {
height: 100%;
}
-.container {
- height: 70%;
+.section,.container {
+ height: 90%;
}
hr {
diff --git a/static/js/map.js b/static/js/map.js
index e3d8686..dd83f86 100644
--- a/static/js/map.js
+++ b/static/js/map.js
@@ -123,7 +123,7 @@ function refreshDatapoints(deveui, start, stop) {
lcontrol = L.control.layers({}).addTo(map);
lcontrol.addOverlay(allmarkers, 'alle Positionen anzeigen');
bounds = new L.LatLngBounds([[mydata['max_lat'], mydata['max_lon']], [mydata['min_lat'], mydata['min_lon']]]);
- map.fitBounds(bounds, { padding: [20, 20] });
+ map.fitBounds(bounds, { padding: [15, 15] });
} else {
$('#map').hide();
$('#datetimeslider').hide();