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(split-layout): keep Preview Pair seam border on the Controller (#5166)
Peter Chinman66f4ea6423f4
diff --git a/apps/web/src/components/app/split-layout/components/SplitPanel.tsx b/apps/web/src/components/app/split-layout/components/SplitPanel.tsxindex bbb66f191f..0c4395e346 100644--- a/apps/web/src/components/app/split-layout/components/SplitPanel.tsx+++ b/apps/web/src/components/app/split-layout/components/SplitPanel.tsx@@ -305,14 +305,15 @@ export function SplitPanel(props: SplitPanelProps) {'shadow-2xl shadow-drop-shadow': splitFocusStyling(),'border-solid!': previewPairFocusStyling() && props.active,'border-dashed!': previewPairFocusStyling() && !props.active,- // Drawer look: both members square their seam corners, and- // the seam border belongs to the pair's active member — its- // partner's seam edge goes borderless so the line never- // doubles (the ! beats Surface's inline border shorthand).- 'rounded-l-none': tuckedBehindController(),- 'border-l-0!': tuckedBehindController() && !props.active,+ // Drawer look: both members square their seam corners. The+ // seam border always belongs to the Controller — the+ // Viewer's seam edge stays borderless so the line never+ // doubles, and keeping it on one fixed member regardless+ // of focus means switching focus can't shift layout by the+ // border width (the ! beats Surface's inline border+ // shorthand).+ 'rounded-l-none border-l-0!': tuckedBehindController(),'rounded-r-none': hasTuckedViewer(),- 'border-r-0!': hasTuckedViewer() && !props.active,})}depth={isMobile() ? 0 : 1}