Fix gif padding

This commit is contained in:
Zed 2019-06-24 08:24:43 +02:00
parent af9a5d4872
commit 1927858f95
2 changed files with 7 additions and 1 deletions

View File

@ -576,6 +576,12 @@ nav {
font-weight: bold;
}
.media-gif {
display: table-cell;
padding-top: 5px !important;
background-color: unset;
}
video {
height: 100%;
width: 100%;

View File

@ -92,7 +92,7 @@
#end proc
#
#proc renderGif(gif: Gif): string =
<div class="attachments media-body" style="display: table-cell;">
<div class="attachments media-body media-gif">
<div class="gallery-row" style="max-height: unset;">
<div class="attachment image">
<video class="gif" poster=${gif.thumb.getSigUrl("pic")} autoplay muted loop>