Make thumbnails responsive
This commit is contained in:
parent
0d6a2e668c
commit
a56b992905
2 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@
|
||||||
/* Venue icon styles */
|
/* Venue icon styles */
|
||||||
.icon-container {
|
.icon-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 315px;
|
height: 60%;
|
||||||
.icon-inner {
|
.icon-inner {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:50%;
|
top:50%;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
- elsif @conference.venue.picture.present?
|
- elsif @conference.venue.picture.present?
|
||||||
.col-md-5
|
.col-md-5
|
||||||
.thumbnail
|
.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
|
- else
|
||||||
.col-md-5
|
.col-md-5
|
||||||
.thumbnail.icon-container
|
.thumbnail.icon-container
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue