From a56b992905597fb50b048cf880e0769e7e9e9bef Mon Sep 17 00:00:00 2001 From: Arun Date: Wed, 22 Jun 2016 04:36:56 +0530 Subject: [PATCH] Make thumbnails responsive --- app/assets/stylesheets/osem-splash.css.scss | 2 +- app/views/conference/_venue.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/osem-splash.css.scss b/app/assets/stylesheets/osem-splash.css.scss index 35e91722..ad7ff109 100644 --- a/app/assets/stylesheets/osem-splash.css.scss +++ b/app/assets/stylesheets/osem-splash.css.scss @@ -175,7 +175,7 @@ /* Venue icon styles */ .icon-container { position: relative; - height: 315px; + height: 60%; .icon-inner { position:absolute; top:50%; diff --git a/app/views/conference/_venue.html.haml b/app/views/conference/_venue.html.haml index 60e37fba..f457272c 100644 --- a/app/views/conference/_venue.html.haml +++ b/app/views/conference/_venue.html.haml @@ -14,7 +14,7 @@ - elsif @conference.venue.picture.present? .col-md-5 .thumbnail - = image_tag @conference.venue.picture.url, alt: "Venue", size: "560x315" + = image_tag @conference.venue.picture.url, alt: @conference.venue.name, class:"img-responsive" - else .col-md-5 .thumbnail.icon-container