click-ui icon indicating copy to clipboard operation
click-ui copied to clipboard

feat(Table): make `table-layout: auto` the default

Open ariser opened this issue 3 months ago • 1 comments

Why

table-layout: fixed makes tables layout very controllable, but at expense of content accessibility.

Tabular data is hard to display adaptively. Default behavior is designed to display it in the best way possible, so let's use it. In cases where tables do not fit the viewport, they will receive a horizontal scroll that will keep both external table dimensions, and proper internal structure with all the content being accessible.

What

  • remove table-layout: fixed from Table styles
  • introduce a new prop fixedLayout?: boolean to Table that applies table-layout: fixed when explicitly specified, to support existing cases where it's required

ariser avatar Oct 19 '25 07:10 ariser

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

Project Deployment Preview Comments Updated (UTC)
click-ui Ready Ready Preview Comment Oct 19, 2025 7:56am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

vercel[bot] avatar Oct 19 '25 07:10 vercel[bot]