Increase max height of preview card image (#5092)

We added horizontal layout to preview card for wide image. However, max height of the thumbnail is still limited to 120px and it makes nearly square images to too small for that layout.

This PR increases max height as well as max width.
pull/5095/merge
unarist 2017-09-26 00:10:49 +09:00 committed by Eugen Rochko
parent 0fea700c7b
commit 5c82c2b75f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class PreviewCard < ApplicationRecord
has_and_belongs_to_many :statuses has_and_belongs_to_many :statuses
has_attached_file :image, styles: { original: '280x120>' }, convert_options: { all: '-quality 80 -strip' } has_attached_file :image, styles: { original: '280x280>' }, convert_options: { all: '-quality 80 -strip' }
include Attachmentable include Attachmentable
include Remotable include Remotable