From 8f101a375972f60640710ce18a91283b4b972fa7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Apr 2011 18:02:27 +0100 Subject: [PATCH] Trigger mobile mode at 640px instead of 480px for iPhone 4 support --- app/views/layouts/_head.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 517e02146..6c22a9475 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -7,8 +7,8 @@ <%= stylesheet_link_tag 'common' %> - <%= stylesheet_link_tag 'small', :media => "only screen and (max-width: 481px)" %> - <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 482px)" %> + <%= stylesheet_link_tag 'small', :media => "only screen and (max-width:641px)" %> + <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 642px)" %> <%= stylesheet_link_tag 'print', :media => "print" %> <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %> <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %> -- 2.43.2