fixed map view if no coordinates bug
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user