mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-26 11:49:16 +00:00
fix(ui): raise toast z-index above dialog overlays (#715)
This commit is contained in:
@@ -204,7 +204,7 @@ export function ToastContainer() {
|
||||
const visible = toasts.slice(-MAX_VISIBLE);
|
||||
|
||||
return createPortal(
|
||||
<div className="pointer-events-none fixed bottom-4 right-4 z-50 flex w-full max-w-sm flex-col gap-2 p-4">
|
||||
<div className="pointer-events-none fixed bottom-4 right-4 z-[200] flex w-full max-w-sm flex-col gap-2 p-4">
|
||||
<AnimatePresence mode="popLayout">
|
||||
{visible.map((t) => (
|
||||
<ToastItem key={t.id} {...t} />
|
||||
|
||||
Reference in New Issue
Block a user