]> cat aescling's git repositories - mastodon.git/commit
Increase max height of preview card image (#5092)
authorunarist <m.unarist@gmail.com>
Mon, 25 Sep 2017 15:10:49 +0000 (00:10 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 25 Sep 2017 15:10:49 +0000 (17:10 +0200)
commit5c82c2b75fb7fb0df9848596f8486f51ff4b3467
tree3090d3df925070c14b3b7908ba414c2e797511d5
parent0fea700c7be051ace98c2b3426531862c73565bb
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.
app/models/preview_card.rb