Fix gif size regression

This commit is contained in:
Zed 2019-06-29 14:33:21 +02:00
parent 1a0ccbb3f7
commit 02f63f97d6
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@
# #
#proc renderGif(gif: Gif): string = #proc renderGif(gif: Gif): string =
<div class="attachments media-gif"> <div class="attachments media-gif">
<div class="gallery-row" style="max-height: unset;"> <div class="gallery-gif" style="max-height: unset;">
<div class="attachment image"> <div class="attachment">
<video class="gif" poster=${gif.thumb.getSigUrl("pic")} autoplay muted loop> <video class="gif" poster=${gif.thumb.getSigUrl("pic")} autoplay muted loop>
<source src=${gif.url.getSigUrl("video")} type="video/mp4"> <source src=${gif.url.getSigUrl("video")} type="video/mp4">
</video> </video>