posts: fix thumbnails on comment and modqueue pages.

Fix thumbnails being fit-to-width instead of a fixed size on the
/comments and /modqueue pages, which caused the columns to be misaligned.
This commit is contained in:
evazion
2021-12-05 16:39:24 -06:00
parent 9cb70fa632
commit 396062869a
4 changed files with 18 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
module ComponentsHelper
def post_preview(post, **options)
render PostPreviewComponent.new(post: post, **options)
def post_preview(post, fit: :fixed, **options)
render PostPreviewComponent.new(post: post, fit: fit, **options)
end
# Render a set of posts as thumbnail gallery.