Skip to content

fix(shadcn): make Grid responsive and let Grid/Stack children shrink - #365

Open
sushanshakya77 wants to merge 1 commit into
vercel-labs:mainfrom
sushanshakya77:fix/shadcn-responsive-grid-stack
Open

sushanshakya77 wants to merge 1 commit into
vercel-labs:mainfrom
sushanshakya77:fix/shadcn-responsive-grid-stack

Conversation

@sushanshakya77

Copy link
Copy Markdown

Closes #355

  • Grid: columns: N now renders grid-cols-1 sm:grid-cols-2 lg:grid-cols-N, so desktop layouts collapse on phones.
  • Grid and Stack: add min-w-0 to the container and its children, so wide content like Table scrolls in its own box instead of overflowing the page.
  • Updated the shadcn README and skill.

shadcn-svelte has the same code; happy to follow up there.

@vercel

vercel Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@sushanshakya77 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

shadcn Grid/Stack are not responsive (fixed grid-cols-N, no min-w-0)

1 participant