Put toast on top

This commit is contained in:
Gregory Schier
2024-06-11 12:04:46 -07:00
parent a479df5254
commit 44ad8c7f30
2 changed files with 13 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ export const ToastProvider = ({ children }: { children: React.ReactNode }) => {
<ToastContext.Provider value={state}>
{children}
<Portal name="toasts">
<div className="absolute right-0 bottom-0">
<div className="absolute right-0 bottom-0 z-10">
<AnimatePresence>
{toasts.map((props: PrivateToastEntry) => (
<ToastInstance key={props.id} {...props} />