style(S32): formata os componentes do resumo da home

This commit is contained in:
Francisco Solla 2026-09-23 16:52:40 -03:00
parent 10f53abd56
commit 62ff995f49
2 changed files with 2 additions and 8 deletions

View file

@ -53,10 +53,7 @@ export const CampaignHomeLayout = ({
{summarySlot ? ( {summarySlot ? (
// The summary may outgrow the chrome on phones (S32): scroll it // The summary may outgrow the chrome on phones (S32): scroll it
// inside the slot instead of clipping it behind the actions dock. // inside the slot instead of clipping it behind the actions dock.
<div <div className="min-w-0 max-md:min-h-0 max-md:overflow-y-auto" data-slot="home-summary">
className="min-w-0 max-md:min-h-0 max-md:overflow-y-auto"
data-slot="home-summary"
>
{summarySlot} {summarySlot}
</div> </div>
) : null} ) : null}

View file

@ -39,10 +39,7 @@ const HomeSummaryDelta = ({ delta }: { delta: number | null }) => {
} }
export const CampaignHomeSummary = ({ view }: { view: CampaignHomeSummaryView }) => ( export const CampaignHomeSummary = ({ view }: { view: CampaignHomeSummaryView }) => (
<section <section aria-label="Resumo da campanha" className="flex flex-col gap-4 border-b pb-4 md:pb-6">
aria-label="Resumo da campanha"
className="flex flex-col gap-4 border-b pb-4 md:pb-6"
>
<div className="flex flex-col gap-1"> <div className="flex flex-col gap-1">
<p className="text-sm text-muted-foreground">Votos estimados</p> <p className="text-sm text-muted-foreground">Votos estimados</p>
<div className="flex flex-wrap items-baseline gap-x-2 gap-y-1"> <div className="flex flex-wrap items-baseline gap-x-2 gap-y-1">