From 95f657094b3f409d3434899d17055c51c71249ec Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 24 Apr 2024 16:40:09 +0200 Subject: [PATCH] feat: disable video controls for gif --- templates/threads.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/threads.html b/templates/threads.html index 3105d01..df7dab5 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -22,8 +22,10 @@ color: white; } } - p, img, video { - margin-top: 1em; + main { + & p, & img, & video { + margin-top: 5px; + } } summary:hover { text-decoration: underline; @@ -85,6 +87,7 @@ border: 1px solid rgba(34, 34, 34, 0.35); border-radius: 5px; display: inline; + margin-top: 1em; width: 50px; } @@ -117,7 +120,7 @@ {% if media.type == 'image'%} {% elif media.type == 'gifv' %} -