mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-21 20:03:08 +00:00
B95 — polimento busca município no wizard (bullets, gaps, título mobile)
- 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 <fsolla@users.noreply.github.com>
This commit is contained in:
parent
73f256e227
commit
cce3d4ab3e
2 changed files with 4 additions and 4 deletions
|
|
@ -66,7 +66,7 @@ export const CampaignWizardShell = ({
|
||||||
<main
|
<main
|
||||||
aria-labelledby={titleId}
|
aria-labelledby={titleId}
|
||||||
className={cn(
|
className={cn(
|
||||||
'flex flex-1 flex-col py-6 md:justify-start',
|
'flex flex-1 flex-col pt-3 pb-6 md:justify-start md:py-6',
|
||||||
contentAlign === 'end' ? 'justify-end md:justify-start' : 'justify-start',
|
contentAlign === 'end' ? 'justify-end md:justify-start' : 'justify-start',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ export const WizardMunicipalitySearchStep = ({
|
||||||
previousHref={previousHref}
|
previousHref={previousHref}
|
||||||
dismissHref={previousHref}
|
dismissHref={previousHref}
|
||||||
>
|
>
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-2">
|
||||||
<CampaignSearchInput
|
<CampaignSearchInput
|
||||||
id={WIZARD_MUNICIPALITY_SEARCH_INPUT_ID}
|
id={WIZARD_MUNICIPALITY_SEARCH_INPUT_ID}
|
||||||
label={WIZARD_MUNICIPALITY_SEARCH_LABEL}
|
label={WIZARD_MUNICIPALITY_SEARCH_LABEL}
|
||||||
|
|
@ -202,9 +202,9 @@ export const WizardMunicipalitySearchStep = ({
|
||||||
</p>
|
</p>
|
||||||
) : null}
|
) : null}
|
||||||
{results.status === 'success' && displayRows.length > 0 ? (
|
{results.status === 'success' && displayRows.length > 0 ? (
|
||||||
<ul className="flex flex-col">
|
<ul className="m-0 flex list-none flex-col p-0">
|
||||||
{displayRows.map(({ hit, continuityReason }) => (
|
{displayRows.map(({ hit, continuityReason }) => (
|
||||||
<li key={hit.slug}>
|
<li key={hit.slug} className="m-0 list-none p-0">
|
||||||
<HomeSearchHitRow
|
<HomeSearchHitRow
|
||||||
href={wizardActionHref(actionSlug, hit.slug)}
|
href={wizardActionHref(actionSlug, hit.slug)}
|
||||||
primary={hit.name}
|
primary={hit.name}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue