Zed před 7 roky
rodič
revize
1927858f95
2 změnil soubory, kde provedl 7 přidání a 1 odebrání
  1. 6 0
      public/style.css
  2. 1 1
      src/views/tweet.nim

+ 6 - 0
public/style.css

@@ -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%;

+ 1 - 1
src/views/tweet.nim

@@ -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>