Browse files

[fixed #15390161] fix scss for printing ticket

  • Loading branch information...
1 parent 3651bd1 commit e5acc8da93e2dad5b0000e3192d5e681684da62c @mayuco mayuco committed Jul 6, 2011
Showing with 6 additions and 0 deletions.
  1. +2 −0 app/views/tickets/show.html.haml
  2. +4 −0 public/2011/stylesheets/sass/print.scss
View
2 app/views/tickets/show.html.haml
@@ -1,5 +1,7 @@
-content_for :meta_top do
!=noindex_nofollow
+- content_for :head do
+ %link{:href => "/2011/stylesheets/print.css", :media => "print", :rel => "stylesheet", :type => "text/css"}
#content
%h1
RubyKaigi #{@ticket.ruby_kaigi.year}, #{t(@ticket.ticket_type)}
View
4 public/2011/stylesheets/sass/print.scss
@@ -57,3 +57,7 @@ h2 {
background-color: rgba(138, 135, 134, 0.3); }
.hall {
width: 400px; } } }
+
+.screen_only {
+ display: none; }
+

0 comments on commit e5acc8d

Please sign in to comment.