Shun Miyazawa 2 سال پیش
والد
کامیت
0d527978f0

+ 0 - 1
apps/app/src/components/Sidebar/SidebarNav/PrimaryItems.module.scss

@@ -44,7 +44,6 @@
   }
   }
 
 
   .notification-count-badge :global {
   .notification-count-badge :global {
-    position: absolute;
     left: 26px;
     left: 26px;
     font-size: 8px;
     font-size: 8px;
   }
   }

+ 1 - 1
apps/app/src/components/Sidebar/SidebarNav/PrimaryItems.tsx

@@ -43,7 +43,7 @@ const NotificationIconWithCountBadge = (): JSX.Element => {
   return (
   return (
     <div className="position-relative">
     <div className="position-relative">
       { notificationCount != null && notificationCount > 0 && (
       { notificationCount != null && notificationCount > 0 && (
-        <span className="badge rounded-pill bg-primary notification-count-badge">{notificationCount}</span>
+        <span className="position-absolute badge rounded-pill bg-primary notification-count-badge">{notificationCount}</span>
       ) }
       ) }
       <span className="material-symbols-outlined">notifications</span>
       <span className="material-symbols-outlined">notifications</span>
     </div>
     </div>