From eff0011fc3e2c3820642b2aa2e22266982d97e73 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Fri, 26 Apr 2024 16:27:42 +0200 Subject: [PATCH] style: use .media class --- templates/threads.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/threads.html b/templates/threads.html index aa73a41..1ed40f1 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -38,6 +38,7 @@ ul { list-style: none; } + .card { border-bottom: 1px solid rgba(34, 34, 34, 0.15); margin-left: -40px; @@ -67,7 +68,7 @@ & .body { - & img:not(.emoji), & video, & .link_card { + & .media, & .link_card { margin-bottom: 5px; } @@ -180,9 +181,9 @@ {% if thread.descendants is defined %} {% for media in thread.media_attachments %} {% if media.type == 'image'%} - + {% elif media.type == 'gifv' %} -