fix: Move toast notifications to top-center on mobile to prevent cut-offs at bottom

This commit is contained in:
2026-08-12 04:25:56 +00:00
parent f089b7368f
commit 12c522cec3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
return () => window.removeEventListener("resize", checkMobile)
}, [])
const effectivePosition = isMobile ? "bottom-center" : (props.position || "top-right")
const effectivePosition = isMobile ? "top-center" : (props.position || "top-right")
return (
<Sonner