Skip to content

Let Context/Aim/Our Solution/Resources text fill its full column - #352

Merged
saqibmanan merged 1 commit into
mainfrom
widen-work-event-description-text
Sep 28, 2026
Merged

saqibmanan merged 1 commit into
mainfrom
widen-work-event-description-text

Conversation

@saqibmanan

@saqibmanan saqibmanan commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

On wide screens, the description text on Work and Event pages (Context, Aim, Our Solution, etc.) stopped halfway across its column, leaving a large empty gutter on the right — e.g. work/publicfinance/akshara.

Root cause: ProjectText (project.js) and EventDetailText (eventdetail.js) both had width: 50% at the 1440px breakpoint, stacked on top of the grid column that already sizes that content area. The two combined halved the usable width. This override didn't exist at the other breakpoints (1280px, 1920px), where the text already filled the column correctly.

Fix: dropped the redundant width: 50% in both files.

Verified: ran gatsby develop locally and checked a Work page (publicfinance/akshara) and an Event page (osdma-civicdatalab-mou) at 1440px+ — text now fills the full column on both.

ProjectText (work pages) and EventDetailText (event pages) both had a
'width: 50%' at the 1440px breakpoint, on top of the grid column that
already sizes the right-hand content area — the two combined left half
of that column empty on wide screens, as seen on e.g.
work/publicfinance/akshara. Dropped the redundant width; the grid
column alone already does the sizing, same as it does at every other
breakpoint (1280px, 1920px) where this 50% never applied.

Verified locally (gatsby develop) on a Work page (publicfinance/akshara)
and an Event page (osdma-civicdatalab-mou) at 1440px+: text now fills
the column.
@saqibmanan
saqibmanan merged commit f9c2d7d 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