diff --git a/apps/sim/components/emcn/components/modal/modal.tsx b/apps/sim/components/emcn/components/modal/modal.tsx index 5ec679c3d5d..e709b19f020 100644 --- a/apps/sim/components/emcn/components/modal/modal.tsx +++ b/apps/sim/components/emcn/components/modal/modal.tsx @@ -129,6 +129,10 @@ export interface ModalContentProps * - lg: max 600px (content-heavy modals) * - xl: max 800px (complex editors) * - full: max 1200px (dashboards, large content) + * + * Sizes up to `xl` center within the content area (offset for the sidebar, + * and the panel on workflow pages). `full` modals span most of the viewport, + * so they center against the full viewport instead. * @default 'md' */ size?: ModalSize @@ -184,11 +188,15 @@ const ModalContent = React.forwardRef<