Skip to content

Let the Civic Days paragraph fill its column on the About page - #354

Merged
saqibmanan merged 1 commit into
mainfrom
widen-civicdays-text
Sep 28, 2026
Merged

saqibmanan merged 1 commit into
mainfrom
widen-civicdays-text

Conversation

@saqibmanan

Copy link
Copy Markdown
Contributor

Same pattern as #352: the "Civic Days" paragraph on /about/ stopped well short of the right edge of its column, on screens 1280px and wider.

Root cause: CivicDaysSection's <p> (src/pages/team.js) had a redundant width — 60% at 1280px, 45% at 1440px — stacked inside a grid column already sized by grid-template-columns: 1fr 3fr. At 1440px+ the text used less than half its column.

Where it shows: this component is defined in team.js but doesn't render on the Team page itself — team.js and index.js both call it with a home prop that hides this block. It's only live on /about/ (about.js:269), under the "Civic Days" heading.

Fix: dropped the width: 60% / width: 45% overrides.

Verified: ran gatsby develop locally and measured the rendered paragraph at a 1470px viewport — it now fills 963px of its 983px column (the remainder is the column's own padding), instead of being capped at 45%.

Same pattern as #352: CivicDaysSection's <p> had a redundant width
(60% at 1280px, 45% at 1440px) stacked inside a grid column already
sized by grid-template-columns: 1fr 3fr, leaving a large empty gap on
the right — visible on the About page (this component only renders
there; team.js and index.js both pass the 'home' prop, which hides
it). Dropped the width overrides.

Verified locally (gatsby develop) at 1470px viewport: the paragraph
now fills ~98% of its column (963/983px, the remainder is the
column's own padding) instead of being capped at 45%.
@saqibmanan
saqibmanan merged commit 12016fa into main Sep 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant