Skip to content

Fix blog preview date/tag wrapping on the frontpage - #3824

Closed
radouane-tamouss wants to merge 1 commit into
matrix-org:mainfrom
radouane-tamouss:fix/blog-preview-meta-wrap
Closed

radouane-tamouss wants to merge 1 commit into
matrix-org:mainfrom
radouane-tamouss:fix/blog-preview-meta-wrap

Conversation

@radouane-tamouss

@radouane-tamouss radouane-tamouss commented Dec 2, 2026 •

Copy link
Copy Markdown

Description

On the "Latest from the Blog" cards, a longer category tag such as "Governing Board" wraps onto a second line under the date while the other cards keep date + tag on one line. That is what shows up as the first card "wrapping" in #3817.

Measured on the live site: in the 3-column layout the meta row only has about 243px, but November 13, 2026 + gap + Governing Board needs about 249px. #3823 changed the grid minmax / title overflow-wrap, which does not affect this meta row, so the page looked unchanged.

This PR:

  • trims horizontal card padding (28px → 28px 20px) and the meta gap (0.75rem → 0.5rem) so date + tag fit in three columns
  • moves the single-column breakpoint from 59rem to 62rem so we stack before the row gets too tight again

Checked against the current frontpage posts at ~1000px and full width: "Governing Board" stays on the same line as the date.

AI disclosure: I used an AI coding assistant while reproducing the bug and editing the CSS. I measured the live layout myself and wrote this description.

Related issues

Closes #3817

Role

Individual contributor.

Timeline

No deadline.

Signoff

Signed-off-by: TAMOUSS Radouane <atamousse.red@gmail.com> (on the commit via git commit -s)

The "Governing Board" tag was dropping under the date in the 3-column
layout because date + tag needed more horizontal space than a card had.

Signed-off-by: radouane-tamouss <atamousse.red@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@radouane-tamouss
radouane-tamouss requested a review from a team as a code owner December 2, 2026 19:50
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.

"Latest from the Blog" Cards on the frontpage dont wrap correctly

1 participant