feat: move notifs to bottom right

This commit is contained in:
asharonbaltazar
2022-12-07 12:16:53 -05:00
parent 91c8fd14df
commit 7bbaf4fee8
@@ -15,16 +15,14 @@ const Notifications = ({
} }
return ( return (
<div className="hidden fixed z-50 top-1 w-full inset-x-0 pointer-events-none md:flex justify-center"> <div className="hidden fixed z-50 md:flex md:flex-col-reverse bottom-1 gap-y-2 w-96 h-full right-1 pointer-events-none">
<div className="flex flex-col gap-y-2 w-96"> {notifications.map((notif) => (
{notifications.map((notif) => ( <Notification
<Notification key={notif.text}
key={notif.text} notification={notif}
notification={notif} clearNotification={clearNotification}
clearNotification={clearNotification} />
/> ))}
))}
</div>
</div> </div>
); );
}; };