From 1927858f95cbb7d5fe2e0a06cf2f35fbfb2750d6 Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 24 Jun 2019 08:24:43 +0200 Subject: [PATCH] Fix gif padding --- public/style.css | 6 ++++++ src/views/tweet.nim | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 5105315..05d74fe 100644 --- a/public/style.css +++ b/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%; diff --git a/src/views/tweet.nim b/src/views/tweet.nim index c5c2461..5ee1f3e 100644 --- a/src/views/tweet.nim +++ b/src/views/tweet.nim @@ -92,7 +92,7 @@ #end proc # #proc renderGif(gif: Gif): string = -
+