Merge pull request #1577 from Salman2301/fix-notification-z-index

fix: notification error behind detail sidebar
This commit is contained in:
Maidul Islam
2024-03-19 18:56:14 -04:00
committed by GitHub
@@ -11,7 +11,7 @@ const Notifications = ({ notifications, clearNotification }: NoticationsProps) =
} }
return ( return (
<div className="pointer-events-none fixed right-2 bottom-2 z-50 hidden h-full w-96 gap-y-2 md:flex md:flex-col-reverse"> <div className="pointer-events-none fixed right-2 bottom-2 z-[100] hidden h-full w-96 gap-y-2 md:flex md:flex-col-reverse">
{notifications.map((notif) => ( {notifications.map((notif) => (
<Notification key={notif.text} notification={notif} clearNotification={clearNotification} /> <Notification key={notif.text} notification={notif} clearNotification={clearNotification} />
))} ))}