From 7a3d8ff734977a52926142e1853acc07fb09a8e3 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sat, 13 Apr 2013 11:30:55 +0100 Subject: [PATCH] Cleanup templates for mobiles/tablets. --- app/stores/templates/stores/store_map.html | 10 +++++ app/vapemap/templates/base.html | 46 ++++++++++++++-------- 2 files changed, 39 insertions(+), 17 deletions(-) diff --git a/app/stores/templates/stores/store_map.html b/app/stores/templates/stores/store_map.html index b9c2a7f..36cef19 100644 --- a/app/stores/templates/stores/store_map.html +++ b/app/stores/templates/stores/store_map.html @@ -12,6 +12,16 @@ width: 100%; height: 600px; } + @media (max-width: 767px) { + #map-canvas-stores { + height: 500px; + } + } + @media (max-width: 767px) { + #map-canvas-stores { + height: 400px; + } + } {% endblock %} diff --git a/app/vapemap/templates/base.html b/app/vapemap/templates/base.html index 4675734..380f0b4 100644 --- a/app/vapemap/templates/base.html +++ b/app/vapemap/templates/base.html @@ -31,24 +31,36 @@
- + + + + + + +