Fix gif padding
This commit is contained in:
parent
af9a5d4872
commit
1927858f95
|
@ -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%;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue