Skip to content

fix: preserve DataTable column widths - #49

Merged
inureyes merged 1 commit into
mainfrom
fix/issue-48-datatable-rendered-widths
Sep 23, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/issue-48-datatable-rendered-widths

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

  • Preserve explicit DataTable column widths with width: max-content while min-width: 100% keeps narrow tables filling their container.
  • Keep overflow in the existing local DataTable scroll container and guard the CSS contract with a stylesheet test.

Validation

  • pnpm run verify with npm_config_cache=/tmp/ui-common-issue-48-npm-cache (577 tests, build, boundary, and pack checks)

Closes #48

Automatic table layout could shrink explicit column widths back to the scroll container, so a resized 600px column rendered much narrower. The shared table now sizes to its declared/content width while retaining a full-width minimum and local horizontal scrolling. Stylesheet coverage guards that layout contract.

Validation: pnpm run verify with an isolated npm cache.

Refs #48
@inureyes
inureyes merged commit afdf582 into main Sep 23, 2026
3 checks passed
@inureyes
inureyes deleted the fix/issue-48-datatable-rendered-widths branch September 23, 2026 09:01
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.

Make DataTable resize widths affect rendered columns

1 participant