Centering/aligning image on details page with caption text

This commit is contained in:
Christoph Haas 2016-03-04 11:10:42 +01:00
parent cfc6d29c66
commit f34de8a386

View file

@ -7,7 +7,7 @@
- if @package.screenshots.count > 0
- @package.screenshots.each do |screenshot|
.row.listview
.small-12.columns
.small-12.columns.text-center
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
.imgcaption =screenshot.caption