]> git.openstreetmap.org Git - rails.git/commitdiff
Use leaflet css for print
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 6 Nov 2012 03:36:48 +0000 (19:36 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 9 Nov 2012 20:59:30 +0000 (12:59 -0800)
app/views/layouts/_head.html.erb

index 44385f2be68f80ac9925f252a91627cc0600e8ce..ae90442d0108532470fa5cdc3f6a6b674d0f7931 100644 (file)
@@ -5,7 +5,7 @@
   <%= stylesheet_link_tag "small-#{dir}", :media => "only screen and (max-width:641px)" %>
   <%= stylesheet_link_tag "large-#{dir}", :media => "screen and (min-width: 642px)" %>
   <%= stylesheet_link_tag "print-#{dir}", :media => "print" %>
-  <%= stylesheet_link_tag "leaflet-all" %>
+  <%= stylesheet_link_tag "leaflet-all", :media => "screen, print" %>
   <!--[if IE]>
     <%= stylesheet_link_tag "leaflet.ie" %>
     <%= stylesheet_link_tag "large-#{dir}", :media => "screen" %>