Skip to content

Fix doc card width so cards fill their grid cell - #3353

Merged
pwizla merged 1 commit into
mainfrom
repo/fix-doc-card-width
Jul 23, 2026
Merged

Fix doc card width so cards fill their grid cell#3353
pwizla merged 1 commit into
mainfrom
repo/fix-doc-card-width

Conversation

@pwizla

@pwizla pwizla commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes a layout inconsistency where CustomDocCard items with shorter text rendered narrower than their grid cell, so cards in the same row (and in ExpandableDocCardsWrapper vs CustomDocCardsWrapper) had different widths. It adds flex: 1 and width: 100% to the card container so every card fills its grid track regardless of text length.

@pwizla pwizla self-assigned this Jul 23, 2026
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jul 23, 2026 3:24pm

Request Review

@github-actions github-actions Bot added pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo internal PRs created by the Strapi core team labels Jul 23, 2026
@pwizla
pwizla merged commit fb5ec95 into main Jul 23, 2026
8 checks passed
@pwizla
pwizla deleted the repo/fix-doc-card-width branch July 23, 2026 15:29
@pwizla pwizla added this to the 7.1.0 milestone Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

1 participant