Fix card view. image class was missing.

This commit is contained in:
Christoph Haas 2021-02-20 22:23:37 +01:00
parent b41c78abbf
commit eaa81e45ed

View file

@ -17,7 +17,7 @@
- @screenshots.each do |screenshot| - @screenshots.each do |screenshot|
div class=("cell pkgcard" + (screenshot.approved ? " approved" : " unapproved")) data-equalizer-watch=true div class=("cell pkgcard" + (screenshot.approved ? " approved" : " unapproved")) data-equalizer-watch=true
a.black href =url_for(screenshot.simage_url(:large)) rel='fancybox-thumb' title=screenshot.caption data-fancybox='gallery' data-caption=screenshot_caption(screenshot) a.black href =url_for(screenshot.simage_url(:large)) rel='fancybox-thumb' title=screenshot.caption data-fancybox='gallery' data-caption=screenshot_caption(screenshot)
.image-with-zoom-icon .image.image-with-zoom-icon
= small_img(screenshot, cls: '') = small_img(screenshot, cls: '')
.magnifying-glass-icon .magnifying-glass-icon