From 071815b9fdfe879d62a7474e618f61815b8caeef Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Sun, 4 May 2014 10:34:55 -0400 Subject: [PATCH] Fix app layout for mobile devices --- app/views/layouts/application.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 9cad67e..0666f2e 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -2,6 +2,7 @@ %html{:lang => "en"} %head %meta{:charset => "utf-8"}/ + %meta{ name: "viewport", content: "width=device-width", "initial-scale" => "1.0"} %title= content_for?(:title) ? yield(:title) : "Velocipede" = csrf_meta_tags = stylesheet_link_tag "bootstrap_and_overrides", "datepicker", "bootstrap-timepicker", :media => "all" @@ -9,7 +10,7 @@ = javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js" :css body { - padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ + padding-top: 5px; } .x-boundlist-item { white-space: nowrap;