From 6507b334c8e2c850924ce17d12bc4afacab500c7 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Aug 2012 13:04:18 +0200 Subject: missing files, improved scaling --- module/web/templates/mobile/base.html | 44 ++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 13 deletions(-) (limited to 'module/web/templates/mobile') diff --git a/module/web/templates/mobile/base.html b/module/web/templates/mobile/base.html index 1b717ff7b..9cb038b3a 100644 --- a/module/web/templates/mobile/base.html +++ b/module/web/templates/mobile/base.html @@ -20,13 +20,28 @@ margin: 0; } + html, body { + height: 100%; + } + + #wrap { + min-height: 100%; + position: relative; + } + + header { + height: 25px; + } + .viewport { overflow-x: hidden; } #content { - position: relative; + position: absolute; width: 100%; + top: 25px; + bottom: 0; } ul li { @@ -36,24 +51,27 @@ .page { position: absolute; - left: 0; + top: 0; + bottom: 0; width: 100%; border: 1px solid red; } -
- -
-
-
-

dfgfdg

- {% block content %} - {% endblock content %} +
+
+ +
+
+
+

dfgfdg

+ {% block content %} + {% endblock content %} +