From 4a1bbb758b65de40d496d2465567483e3960c7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ign=C3=A1cio=20Fontoura=20Solla?= Date: Sun, 2 Aug 2026 01:08:01 -0300 Subject: [PATCH] Fix home action strip horizontal padding on mobile. Move horizontal padding from the scroll container into layout slots so the action strip can bleed edge-to-edge while summary and search keep consistent inset; add drawer bottom spacer and h-auto height. --- src/components/campaign/dashboard/CampaignHomeLayout.tsx | 9 ++++++--- .../campaign/shell/CampaignQuickActionsDrawer.tsx | 5 +++-- .../campaign/shell/CampaignQuickActionsHost.tsx | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/campaign/dashboard/CampaignHomeLayout.tsx b/src/components/campaign/dashboard/CampaignHomeLayout.tsx index 40f45bdc..a2c7f43b 100644 --- a/src/components/campaign/dashboard/CampaignHomeLayout.tsx +++ b/src/components/campaign/dashboard/CampaignHomeLayout.tsx @@ -59,7 +59,7 @@ export const CampaignHomeLayout = ({ >
{summarySlot ? ( -
+
{summarySlot}
) : null} @@ -75,7 +75,7 @@ export const CampaignHomeLayout = ({ >
{actions}
@@ -83,7 +83,10 @@ export const CampaignHomeLayout = ({ {searchSlot ? (
{searchSlot}
diff --git a/src/components/campaign/shell/CampaignQuickActionsDrawer.tsx b/src/components/campaign/shell/CampaignQuickActionsDrawer.tsx index 33c6aa55..4528c7b4 100644 --- a/src/components/campaign/shell/CampaignQuickActionsDrawer.tsx +++ b/src/components/campaign/shell/CampaignQuickActionsDrawer.tsx @@ -122,8 +122,8 @@ export const CampaignQuickActionsDrawer = ({ Ações rápidas @@ -168,6 +168,7 @@ export const CampaignQuickActionsDrawer = ({ compactStack /> +
diff --git a/src/components/campaign/shell/CampaignQuickActionsHost.tsx b/src/components/campaign/shell/CampaignQuickActionsHost.tsx index 801ab2c8..7e0971f0 100644 --- a/src/components/campaign/shell/CampaignQuickActionsHost.tsx +++ b/src/components/campaign/shell/CampaignQuickActionsHost.tsx @@ -92,7 +92,7 @@ export const CampaignContentScroll = ({ data-home-compact-bottom-padding={compactHomeBottomPadding || undefined} className={cn( 'min-h-0 flex-1 overflow-y-auto overscroll-contain md:p-6 print:h-auto print:overflow-visible print:p-0', - compactHomeBottomPadding ? 'px-4 pt-4 pb-2' : 'p-4', + compactHomeBottomPadding ? 'pt-4 pb-2' : 'p-4', )} > {children}