Schedule height fits a 600px screen and the schedule is hiden if there is only one room

This commit is contained in:
Ana 2016-06-17 14:00:31 +02:00
parent 82c2c400b6
commit 028d430885
8 changed files with 74 additions and 98 deletions

View file

@ -2,9 +2,11 @@
colspan: span, |
role: "button" } |
%a.unstyled-link{href: url_for(conference_program_proposal_path(@conference.short_title, event.id))}
%div{ class:"event-elipsis break-words event-title"}
%div{ class: "elipsis break-words event-title", |
style: "-webkit-line-clamp: #{ event_lines(@rooms) }; height: #{ event_height(@rooms) }px;"} |
= event.title
- if speaker = event.speakers.first
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
:alt => speaker.name, |
:title => speaker.name
:alt => speaker.name, |
:title => speaker.name, |
:style => "height: #{ speaker_height(@rooms) }px; width: #{ speaker_width(@rooms) }px;"