Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: toast positioning (#2275)
Peter Chinmance664ca9b3db
diff --git a/js/app/packages/core/component/Toast/Toast.tsx b/js/app/packages/core/component/Toast/Toast.tsxindex ffbc1385a4..9b5eb57317 100644--- a/js/app/packages/core/component/Toast/Toast.tsx+++ b/js/app/packages/core/component/Toast/Toast.tsx@@ -303,7 +303,7 @@ function ToastContent(props: {highlightColor={accentColor()}activecornerRadius={'8px'}- class="relative sm:w-md px-2 sm:p-3 overflow-clip"+ class="relative w-[90vw] sm:w-md px-2 sm:p-3 overflow-clip"><Switch>{/* ── Embed layout ── */}diff --git a/js/app/packages/core/component/Toast/ToastRegion.tsx b/js/app/packages/core/component/Toast/ToastRegion.tsxindex 7164c25320..458ce72d4d 100644--- a/js/app/packages/core/component/Toast/ToastRegion.tsx+++ b/js/app/packages/core/component/Toast/ToastRegion.tsx@@ -4,16 +4,16 @@ import { Portal } from 'solid-js/web';export function ToastRegion() {return (<Portal>- <div class="fixed bottom-[80px] sm:bottom-12 right-0 m-0 list-none outline-none pointer-events-none z-toast-region">+ <div class="fixed bottom-[94px] sm:bottom-12 right-0 m-0 list-none outline-none pointer-events-none z-toast-region"><Toast.RegionregionId="toast-region"duration={Infinity}pauseOnInteraction={false}>- <Toast.List class="absolute bottom-0 right-0 w-[90vw] sm:w-108 flex flex-col p-2 sm:p-4 gap-2" />+ <Toast.List class="absolute bottom-0 right-0 flex flex-col p-2 sm:p-4 gap-2" /></Toast.Region><Toast.Region regionId="stable-toast" duration={Infinity}>- <Toast.List class="absolute bottom-0 right-0 w-[90vw] sm:w-108 flex flex-col p-2 sm:p-4 gap-2" />+ <Toast.List class="absolute bottom-0 right-0 flex flex-col p-2 sm:p-4 gap-2" /></Toast.Region></div></Portal>