Skip to content

Conversation

@labkey-alan
Copy link
Contributor

@labkey-alan labkey-alan commented Dec 17, 2025

Rationale

This PR updates how our grids are styled in order to improve the spacing on our columns. This is accomplished by adding a new table-cell-content class that is rendered in most table cells (some columns render their own <td> element and may not have been updated to render table-cell-content), which lets the table cell content expand to the maximum size of the content, up to 300px, then wraps. This PR also removes any way to override the width of columns, column size is now dictated by the content and the browser table layout algorithm, which overall does a much better job at sizing columns.

Related Pull Requests

Changes

  • GridColumn: remove width, fixedWidth properties
    • Add css class for text align and getTextAlignClassName helper
  • Grid: improve styling for columns

@labkey-alan labkey-alan self-assigned this Dec 17, 2025
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.

3 participants