From 1053c571eb7a8fbb9a9c15c7f12f698fa5cf0183 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 1 Aug 2026 17:55:54 +0000 Subject: [PATCH] =?UTF-8?q?B101=20=E2=80=94=20strip=20de=20a=C3=A7=C3=B5es?= =?UTF-8?q?:=20bleed=20sem=20gutter=20+=20hit=20area=20via=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CampaignHomeActionStrip: gap-0 no ul, px-4 interno (md:px-0) - CampaignHomeActionButton: px-2 + box-content para hit area sem encolher coluna - CampaignQuickActionsDrawer: -mx-4 bleed na strip (espelha Início) - Pins unitários para classes de layout B101 Co-authored-by: Francisco Solla --- .../dashboard/CampaignHomeActionButton.tsx | 4 +- .../dashboard/CampaignHomeActionStrip.tsx | 2 +- .../shell/CampaignQuickActionsDrawer.tsx | 22 ++++---- .../campaignHomeActionButton.unit.spec.tsx | 18 +++++- .../campaignQuickActionsDrawer.unit.spec.tsx | 56 +++++++++++++++++-- 5 files changed, 82 insertions(+), 20 deletions(-) diff --git a/src/components/campaign/dashboard/CampaignHomeActionButton.tsx b/src/components/campaign/dashboard/CampaignHomeActionButton.tsx index 43505bfa..f65082ca 100644 --- a/src/components/campaign/dashboard/CampaignHomeActionButton.tsx +++ b/src/components/campaign/dashboard/CampaignHomeActionButton.tsx @@ -27,8 +27,8 @@ export type CampaignHomeActionButtonProps = { disabled?: boolean } -const actionControlClassName = - 'group flex min-h-11 w-[4.75rem] shrink-0 snap-start 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' +export const actionControlClassName = + 'group box-content flex min-h-11 w-[4.75rem] shrink-0 snap-start flex-col items-center gap-2 rounded-md px-2 text-center outline-none focus-visible:ring-2 focus-visible:ring-ring active:opacity-90 disabled:pointer-events-none disabled:opacity-50' const circleClassName = 'flex size-14 items-center justify-center rounded-full bg-muted text-foreground transition-[transform,colors] duration-150 ease-out motion-reduce:transition-none pointer-fine:group-hover:scale-[1.05] pointer-coarse:group-data-[pressing=true]:scale-[1.05] motion-reduce:scale-100 group-hover:bg-muted/80 group-focus-visible:bg-muted/80' diff --git a/src/components/campaign/dashboard/CampaignHomeActionStrip.tsx b/src/components/campaign/dashboard/CampaignHomeActionStrip.tsx index 14242a25..35f41959 100644 --- a/src/components/campaign/dashboard/CampaignHomeActionStrip.tsx +++ b/src/components/campaign/dashboard/CampaignHomeActionStrip.tsx @@ -140,7 +140,7 @@ export const CampaignHomeActionStrip = ({ >