Skip to content

Commit

Permalink
Give the map a minimum height
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Jan 27, 2012
1 parent aa30ba8 commit 1c283c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Usage
{% load mbtilesmap_tags %}
...
{% block head %}
{{ block.super }}
{% include "mbtilesmap/head.html" %}
{{ block.super }}
{% endblock head %}
...
Expand Down
5 changes: 5 additions & 0 deletions mbtilesmap/templates/mbtilesmap/head.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<script src="{{ STATIC_URL }}mbtilesmap/modestmaps.min.js" type='text/javascript'></script>
<script src="{{ STATIC_URL }}mbtilesmap/wax.mm.min.js" type='text/javascript'></script>
<link href="{{ STATIC_URL }}mbtilesmap/controls.css" rel='stylesheet' type='text/css' />
<style>
.map {
min-height: 300px;
}
</style>

0 comments on commit 1c283c2

Please sign in to comment.