Permalink
Browse files

added meta tag to make responsivecss work in mobile safari

  • Loading branch information...
1 parent cd072cd commit ef6373ed6a6752779d4984c29dcaff2fd5d7b0de @masukomi committed Aug 11, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 app/views/layouts/admin.html.haml
  2. +1 −0 app/views/layouts/application.html.haml
@@ -4,6 +4,7 @@
%title
= yield(:title)
\- Admin
+ %meta{:name=>"viewport", :content=>"width=device-width, initial-scale=1.0"}
= csrf_meta_tag
=javascript_include_tag 'css3-mediaqueries'
=javascript_include_tag 'jquery-1.7.2.min'
@@ -3,6 +3,7 @@
%html{ :lang=>"en-US"}
%head
%title= html_title yield(:title)
+ %meta{:name=>"viewport", :content=>"width=device-width, initial-scale=1.0"}
= csrf_meta_tag
=javascript_include_tag "application"
=stylesheet_link_tag "application"

0 comments on commit ef6373e

Please sign in to comment.