From 23ad27e10c21112d38e52bea61a918344b2d33ee Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 11 Aug 2022 14:26:33 +0200 Subject: [PATCH] fix unread class in notifs --- files/templates/notifications.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/files/templates/notifications.html b/files/templates/notifications.html index 3deb9203c6..f0825c1bb0 100644 --- a/files/templates/notifications.html +++ b/files/templates/notifications.html @@ -158,9 +158,11 @@ .comment { margin-top: 0; } - .unread { - margin-bottom: 1rem; - } + {% if request.path in ('/notifications/mesages', '/notifications/modmail') %} + .unread { + margin-bottom: 1rem; + } + {% endif %} {% endblock %}