From b50e7997963cc14c23e8970b370aa06c54c6516e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 17:58:24 +0000 Subject: [PATCH] =?UTF-8?q?B122=20=E2=80=94=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/CampaignHomeActionButton.tsx | 5 +---- .../campaign/dashboard/CampaignHomeLayout.tsx | 15 ++------------- tests/unit/campaignHomeActionButton.unit.spec.tsx | 4 +--- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/components/campaign/dashboard/CampaignHomeActionButton.tsx b/src/components/campaign/dashboard/CampaignHomeActionButton.tsx index 1421e4ce..ebc00249 100644 --- a/src/components/campaign/dashboard/CampaignHomeActionButton.tsx +++ b/src/components/campaign/dashboard/CampaignHomeActionButton.tsx @@ -31,10 +31,7 @@ export type CampaignHomeActionButtonProps = { const actionControlBaseClassName = 'group box-content flex min-h-11 flex-col items-center gap-2 rounded-md text-center outline-none focus-visible:ring-2 focus-visible:ring-ring active:opacity-90 disabled:pointer-events-none disabled:opacity-50' -const actionStripControlClassName = cn( - actionControlBaseClassName, - 'w-[5.5rem] shrink-0 snap-start', -) +const actionStripControlClassName = cn(actionControlBaseClassName, 'w-[5.5rem] shrink-0 snap-start') const actionResponsiveControlClassName = cn( actionControlBaseClassName, diff --git a/src/components/campaign/dashboard/CampaignHomeLayout.tsx b/src/components/campaign/dashboard/CampaignHomeLayout.tsx index 3c039a88..4e2d37e5 100644 --- a/src/components/campaign/dashboard/CampaignHomeLayout.tsx +++ b/src/components/campaign/dashboard/CampaignHomeLayout.tsx @@ -15,14 +15,11 @@ const HomeChromeRetractionShell = ({ slot, className, children, - allowHorizontalBleed = false, }: { retracted: boolean slot?: string className?: string children: ReactNode - /** B111 — keep Y clip for grid-rows retraction without clipping -mx bleed on X. */ - allowHorizontalBleed?: boolean }) => (
-
- {children} -
+
{children}
) @@ -72,10 +64,7 @@ export const CampaignHomeLayout = ({ slot="home-actions-chrome" className="order-1 md:order-2" > -
+
{actions}
diff --git a/tests/unit/campaignHomeActionButton.unit.spec.tsx b/tests/unit/campaignHomeActionButton.unit.spec.tsx index 36ecadb2..8630dba7 100644 --- a/tests/unit/campaignHomeActionButton.unit.spec.tsx +++ b/tests/unit/campaignHomeActionButton.unit.spec.tsx @@ -216,9 +216,7 @@ describe('CampaignHomeActionStrip', () => { }) it('scrolls horizontally on pointer-fine drag past the threshold', () => { - const { container } = render( - , - ) + const { container } = render() const scroller = getScroller(container) mockScrollerOverflow(scroller)