2 Commits

Author SHA1 Message Date
4c654ca79a make the toast on the bottom on mobile
Some checks failed
Deploy / deploy (push) Failing after 2m36s
2024-09-30 22:44:29 +01:00
6a1af178fe make the toast on the bottom on mobile 2024-09-30 22:44:12 +01:00

View File

@ -16,7 +16,7 @@ const ToastViewport = React.forwardRef<
<ToastPrimitives.Viewport <ToastPrimitives.Viewport
ref={ref} ref={ref}
className={cn( className={cn(
"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", "fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
className className
)} )}
{...props} {...props}