Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(web): show mobile action toasts at the top
Gus9d8b226d54a8
diff --git a/src/web/src/components/toaster-provider.tsx b/src/web/src/components/toaster-provider.tsxindex 2854c76ad..b92461b22 100644--- a/src/web/src/components/toaster-provider.tsx+++ b/src/web/src/components/toaster-provider.tsx@@ -2,16 +2,20 @@import { Toaster } from "sonner";import { useTheme } from "next-themes";+import { useIsMobile } from "@/hooks/use-mobile";export function ToasterProvider() {const { resolvedTheme } = useTheme();+ const isMobile = useIsMobile();return (<Toastertheme={(resolvedTheme as "light" | "dark") ?? "system"}richColorscloseButton- position="bottom-right"+ position={isMobile ? "top-center" : "bottom-right"}+ offset={isMobile ? { top: "calc(env(safe-area-inset-top) + 16px)" } : undefined}+ mobileOffset={{ top: "calc(env(safe-area-inset-top) + 16px)" }}/>);}