Private
Public Access
1
0

fixed map view if no coordinates bug

This commit is contained in:
Sander Roosendaal
2017-09-17 14:35:02 +02:00
parent 60984db0a2
commit 9496d20e21
3 changed files with 7 additions and 4 deletions

View File

@@ -29,14 +29,13 @@
</script>
<style>
/* Need this to get the page in "desktop mode"; not having an infinite height.*/
html, body {height: 100%; margin:5px;}
html, body, #mymap {height: 100%; margin:5px;}
</style>
<div id="workouts" class="grid_12 alpha">
<h1>Map View</h1>
{% if user.is_authenticated and mayedit %}
<div class="grid_2 alpha">
@@ -52,7 +51,7 @@
</div>
{% endif %}
</div>
<div id="theplot" class="grid_12 alpha flexplot">
<div style="height:100%;" id="theplot" class="grid_12 alpha flexplot">
{{ mapdiv|safe }}