This repository was archived by the owner on Jul 28, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1251,6 +1251,10 @@ tbody tr:hover {
12511251 transform : translateX (0 );
12521252}
12531253
1254+ .sidebar .collapsed ~ .notif-panel {
1255+ left : 60px ;
1256+ }
1257+
12541258.notif-backdrop {
12551259 position : fixed;
12561260 inset : 0 ;
Original file line number Diff line number Diff line change @@ -313,6 +313,11 @@ function openNotifPanel() {
313313 $ ( '#notif-panel' ) . classList . add ( 'open' ) ;
314314 $ ( '#notif-backdrop' ) . classList . add ( 'open' ) ;
315315 document . body . style . overflow = 'hidden' ;
316+
317+ document . querySelectorAll ( '.nav-item' ) . forEach ( n => n . classList . remove ( 'active' ) ) ;
318+ $ ( '#nav-notifications' ) . classList . add ( 'active' ) ;
319+ updateNavIndicator ( ) ;
320+
316321 fetchNotifications ( ) ;
317322 if ( state . unreadCount > 0 ) {
318323 fetchUnreadCount ( ) ;
@@ -324,6 +329,11 @@ function closeNotifPanel() {
324329 $ ( '#notif-panel' ) . classList . remove ( 'open' ) ;
325330 $ ( '#notif-backdrop' ) . classList . remove ( 'open' ) ;
326331 document . body . style . overflow = '' ;
332+
333+ document . querySelectorAll ( '.nav-item' ) . forEach ( n => n . classList . remove ( 'active' ) ) ;
334+ const targetNav = document . querySelector ( `.nav-item[data-page="${ state . currentPage } "]` ) ;
335+ if ( targetNav ) targetNav . classList . add ( 'active' ) ;
336+ updateNavIndicator ( ) ;
327337}
328338
329339function showCapModal ( ) {
You can’t perform that action at this time.
0 commit comments