Ensure notifications appear above modals

This commit is contained in:
thePR0M3TH3AN committed 2025-09-30 08:59:18 -04:00
1 parent 213f92f496
commit f832695a6a
2 files changed
+47 -18

No files matched your search

+21
View File
@@ -819,6 +819,27 @@ button:not(.icon-button):focus {
}
/* Notifications */
#notificationPortal {
position: fixed;
top: calc(env(safe-area-inset-top, 0px) + 1.5rem);
left: 50%;
transform: translateX(-50%);
z-index: 100;
width: min(90vw, 32rem);
display: flex;
flex-direction: column;
gap: 0.75rem;
pointer-events: none;
}
#notificationPortal > * {
width: 100%;
margin-bottom: 0;
pointer-events: auto;
border-radius: 0.75rem;
box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.3);
}
/* Base styling without a forced display */
#errorContainer,
#successContainer {