From cce3d4ab3e757f8a75b1fc9da755639a2a76d08a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 1 Aug 2026 10:53:27 +0000 Subject: [PATCH 1/3] =?UTF-8?q?B95=20=E2=80=94=20polimento=20busca=20munic?= =?UTF-8?q?=C3=ADpio=20no=20wizard=20(bullets,=20gaps,=20t=C3=ADtulo=20mob?= =?UTF-8?q?ile)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove list bullets from municipality search hits (list-none + reset) - Tighten gap between search input and results (gap-4 → gap-2) - Reduce mobile top padding in CampaignWizardShell (pt-3 pb-6 md:py-6) Co-authored-by: Francisco Solla --- src/components/campaign/shared/CampaignWizardShell.tsx | 2 +- .../campaign/shared/WizardMunicipalitySearchStep.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/campaign/shared/CampaignWizardShell.tsx b/src/components/campaign/shared/CampaignWizardShell.tsx index 6f6f1356..053e6abb 100644 --- a/src/components/campaign/shared/CampaignWizardShell.tsx +++ b/src/components/campaign/shared/CampaignWizardShell.tsx @@ -66,7 +66,7 @@ export const CampaignWizardShell = ({
diff --git a/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx b/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx index c2eb9794..b59a0d71 100644 --- a/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx +++ b/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx @@ -177,7 +177,7 @@ export const WizardMunicipalitySearchStep = ({ previousHref={previousHref} dismissHref={previousHref} > -
+
) : null} {results.status === 'success' && displayRows.length > 0 ? ( -
    +
      {displayRows.map(({ hit, continuityReason }) => ( -
    • +
    • Date: Sat, 1 Aug 2026 10:53:33 +0000 Subject: [PATCH 2/3] =?UTF-8?q?B95=20=E2=80=94=20unit=20test=20for=20mobil?= =?UTF-8?q?e=20wizard=20shell=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Francisco Solla --- tests/unit/campaignWizardShell.unit.spec.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/unit/campaignWizardShell.unit.spec.tsx b/tests/unit/campaignWizardShell.unit.spec.tsx index 2699915e..61b7dadb 100644 --- a/tests/unit/campaignWizardShell.unit.spec.tsx +++ b/tests/unit/campaignWizardShell.unit.spec.tsx @@ -136,4 +136,19 @@ describe('CampaignWizardShell', () => { expect(caption?.textContent).toBe('Cairu') expect(caption?.className).toMatch(/md:block/) }) + + it('uses tighter top padding on mobile main content', () => { + const { container } = renderWizardShell({ + flowTitle: 'Ajustar votos', + stepTitle: WIZARD_MUNICIPALITY_STEP_TITLE, + isEntryStep: true, + previousHref: '/campanha', + children: null, + }) + + const main = container.querySelector('main') + expect(main?.className).toMatch(/pt-3/) + expect(main?.className).toMatch(/pb-6/) + expect(main?.className).toMatch(/md:py-6/) + }) }) From 67336c9d9d86739c053ac894b89839e7ff19480f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 1 Aug 2026 10:55:35 +0000 Subject: [PATCH 3/3] =?UTF-8?q?B95=20=E2=80=94=20reuse=20HOME=5FSEARCH=5FG?= =?UTF-8?q?ROUP=5FLIST=5FCLASS=20for=20wizard=20hit=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Francisco Solla --- .../campaign/shared/WizardMunicipalitySearchStep.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx b/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx index b59a0d71..85fd3c77 100644 --- a/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx +++ b/src/components/campaign/shared/WizardMunicipalitySearchStep.tsx @@ -24,6 +24,7 @@ import { WIZARD_MUNICIPALITY_STEP_TITLE, wizardFlowTitleForSlug, } from '@/lib/campaignWizardCopy' +import { HOME_SEARCH_GROUP_LIST_CLASS } from '@/lib/homeSearchUi' import type { AccessibleMunicipality } from '@/lib/municipalityProximity' import { HOME_SEARCH_QUERY_MAX_LENGTH } from '@/lib/schemas/homeSearch' import { @@ -202,9 +203,9 @@ export const WizardMunicipalitySearchStep = ({

      ) : null} {results.status === 'success' && displayRows.length > 0 ? ( -
        +
          {displayRows.map(({ hit, continuityReason }) => ( -
        • +