Make thumbnails responsive

This commit is contained in:
Arun 2016-06-22 04:36:56 +05:30
parent 0d6a2e668c
commit a56b992905
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,7 @@
/* Venue icon styles */
.icon-container {
position: relative;
height: 315px;
height: 60%;
.icon-inner {
position:absolute;
top:50%;

View file

@ -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