Browse Source

Fix app layout for mobile devices

denney-fix-saving-dates
Jason Denney 11 years ago
parent
commit
071815b9fd
  1. 3
      app/views/layouts/application.html.haml

3
app/views/layouts/application.html.haml

@ -2,6 +2,7 @@
%html{:lang => "en"} %html{:lang => "en"}
%head %head
%meta{:charset => "utf-8"}/ %meta{:charset => "utf-8"}/
%meta{ name: "viewport", content: "width=device-width", "initial-scale" => "1.0"}
%title= content_for?(:title) ? yield(:title) : "Velocipede" %title= content_for?(:title) ? yield(:title) : "Velocipede"
= csrf_meta_tags = csrf_meta_tags
= stylesheet_link_tag "bootstrap_and_overrides", "datepicker", "bootstrap-timepicker", :media => "all" = 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" = javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
:css :css
body { 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 { .x-boundlist-item {
white-space: nowrap; white-space: nowrap;

Loading…
Cancel
Save