From 3a9b14c7721476c6fdb1886861a6895830f0b098 Mon Sep 17 00:00:00 2001 From: franzz Date: Sun, 10 Mar 2019 19:27:29 +0100 Subject: [PATCH] fix elevation chart size --- masks/project.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masks/project.html b/masks/project.html index 71814f3..b9ada13 100755 --- a/masks/project.html +++ b/masks/project.html @@ -213,7 +213,7 @@ function initSpotMessages(aoMessages, aoTracks) { var oElev = L.control.elevation({ collapsed: true, position: "bottomright", - width: $('#messages').width() - $('#feed').outerWidth(true) - $('.leaflet-bottom.leaflet-left').outerWidth(true) + 4, + width: $('#projects').width() - $('#feed').outerWidth(true) - $('.leaflet-bottom.leaflet-left').outerWidth(true) + 4, height: 125, hoverNumber: { decimalsX: 0, //distance (km)