fix: Toast message hidden under the footer (#761)

This commit is contained in:
Ashish Baravaliya 2023-07-31 03:03:19 -04:00 committed by GitHub
parent 87c5e582a2
commit 3e8ed46317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ export const Toast = ({
); );
})} })}
</AnimatePresence> </AnimatePresence>
<ToastPrimitive.Viewport className="fixed flex-col bottom-0 left-0 right-0 p-5 flex items-end gap-2 outline-none pointer-events-none" /> <ToastPrimitive.Viewport className="fixed flex-col bottom-0 left-0 right-0 p-5 flex items-end gap-2 outline-none pointer-events-none z-20" />
</ToastContext.Provider> </ToastContext.Provider>
</ToastPrimitive.Provider> </ToastPrimitive.Provider>
); );