From c35e459e3211e8fb004896e31731a17880a51b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ign=C3=A1cio=20Fontoura=20Solla?= Date: Mon, 27 Jul 2026 10:37:25 -0300 Subject: [PATCH] Tighten B41 comments after the second simplify pass. Drop ticket noise and clarify that overflow-x-auto is already Table's default. --- src/components/campaign/municipality/MunicipalityList.tsx | 5 ++--- src/components/campaign/shared/CampaignTable.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/campaign/municipality/MunicipalityList.tsx b/src/components/campaign/municipality/MunicipalityList.tsx index 5debb2a6..90112697 100644 --- a/src/components/campaign/municipality/MunicipalityList.tsx +++ b/src/components/campaign/municipality/MunicipalityList.tsx @@ -118,7 +118,7 @@ const VotePositionReadout = ({ /** * E10 classe. In the table only the pill is visible — spelling the factors out - * under it still bloats the sticky/dense row even with B41's horizontal scroll, + * under it still bloats the sticky/dense row even with horizontal scroll, * so the "por quê" moves to the column's `cellTooltip` (hover, focus and tap) * and stays as `sr-only` text; the card has the width to show it outright. * Either way the class never reaches anyone as a bare verdict, which is the @@ -612,8 +612,7 @@ export const MunicipalityList = (props: MunicipalityListProps) => { })} - {/* overflow-visible overrides CampaignTable's overflow-hidden so sticky can - paint. A sticky can't paint the row border, hence the inset shadow. */} + {/* A sticky can't paint the row border, hence the inset shadow. */} = { caption?: ReactNode /** Outer wrapper (border/rounding live here). */ className?: string - /** `ui/Table` scroll container override (e.g. `overflow-x-auto` for sticky-left columns). */ + /** `ui/Table` scroll container class (default already includes `overflow-x-auto`). */ containerClassName?: string /** `` override (e.g. sticky headers). */ headerClassName?: string