Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Add meta tag to prevent large font-size on small devices in landscape…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
joegatt committed Aug 10, 2013
1 parent c9821e7 commit d475142
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions app/views/application/_head.html.haml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
%head
%meta{ :charset => 'utf-8' }
%meta{ charset: 'utf-8' }

-# Use the .htaccess and remove these lines to avoid edge case issues.
-# More info: h5bp.com/b/378
%meta{ 'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge,chrome=1' }
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge,chrome=1' }

-# Mobile viewport optimized: h5bp.com/viewport
%meta{ :name => 'viewport', :content => 'width=device-width' }
%meta{ name: 'viewport', content: 'width=device-width' }
%meta{ name: 'viewport', content: 'width=device-width', :'initial-scale' => '1.0', :'maximum-scale' => '1.0' }

= display_meta_tags

= csrf_meta_tag

-# Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons

= render 'stylesheets'

-# More ideas for your <head> here: h5bp.com/d/head-Tips

-# All JavaScript at the bottom, except polyfills
-# Rails Helpers are not HTML5!!!
= javascript_include_tag 'polyfills'

0 comments on commit d475142

Please sign in to comment.