From e46d067866d3345d9e160fa50fd16af5430e2418 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 17 Jun 2024 12:38:44 +0000 Subject: [PATCH] Fix bell icon notification --- static/style.css | 9 ++++++--- templates/notification.tmpl | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 71f64d7..1f266d0 100644 --- a/static/style.css +++ b/static/style.css @@ -192,9 +192,12 @@ textarea { opacity: 0.6; } -.notification-container.mention .status-content, -.notification-container.mention .status-reply-container, -.notification-container.mention .status-media-container { +.notification-container.notification-mention .status-content, +.notification-container.notification-mention .status-reply-container, +.notification-container.notification-mention .status-media-container, +.notification-container.notification-status .status-content, +.notification-container.notification-status .status-reply-container, +.notification-container.notification-status .status-media-container { opacity: 1; } diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 395987e..5aaccb4 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -16,7 +16,7 @@ {{range .Notifications}} -
+
{{if eq .Type "follow"}}
@@ -66,6 +66,9 @@ {{else if eq .Type "mention"}} {{template "status" (WithContext .Status $.Ctx)}} + {{else if eq .Type "status"}} + {{template "status" (WithContext .Status $.Ctx)}} + {{else if eq .Type "reblog"}}