From 894bfcc891a039ada73156a967950ca176e08a08 Mon Sep 17 00:00:00 2001
From: Lim Chee Aun <cheeaun@gmail.com>
Date: Sun, 15 Sep 2024 00:03:15 +0800
Subject: [PATCH] Small adjustments to notifications

---
 src/pages/notifications.css | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/pages/notifications.css b/src/pages/notifications.css
index 0a32260f..fdcc76aa 100644
--- a/src/pages/notifications.css
+++ b/src/pages/notifications.css
@@ -1,3 +1,9 @@
+#notifications-page {
+  .notification {
+    content-visibility: auto;
+  }
+}
+
 .notification {
   display: flex;
   padding: 16px !important;
@@ -10,8 +16,8 @@
     cursor: pointer;
   }
 }
-.notification.notification-mention {
-  margin-top: 16px;
+.notification-type.notification-mention {
+  padding-top: 16px;
 }
 .only-mentions .notification:not(.notification-mention),
 .only-mentions .timeline-empty {
@@ -139,7 +145,6 @@
   max-height: 320px;
   filter: none;
   background-color: var(--bg-color);
-  margin-top: calc(-16px - 1px);
   border-color: var(--reply-to-color);
   box-shadow: 0 0 0 3px var(--reply-to-faded-color);
 }