diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index 61675ec7..6ece5c3c 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -253,7 +253,10 @@ function Notifications() { onClick={() => { announcementsListRef.current?.children[ index - ].scrollIntoView({ behavior: 'smooth' }); + ].scrollIntoView({ + behavior: 'smooth', + block: 'nearest', + }); }} > {index + 1}