Repository navigation
fix(ui): Office tables on desktop web — cells take their column's width, body not clipped - #804
Merged
Merged
Conversation
…, body not clipped (#799) Pulls Scaffald/ui#37. The Office storage table on desktop web rendered data cells at their text width under headers of another width and clipped its body to 116px; the same held for every Table without declared column widths. Measured after: header and cell both 194px at the same x on /office/storage, four rows rendered, no inner scroller; /office/cms/workers shows four even 204px columns. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ger pushed off the right edge Co-Authored-By: Claude Fable 5.1 <[email protected]>
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #799.
What
Bumps
@scaffald/uito Scaffald/ui#37, plus a two-line fix to the storage page's title row.Not a #794 regression. With the pre-#794
Table/directory restored on the current ui, the same page measured worse (body 84 px, header 255 px below the search box). Three long-standing faults in the web grid:columnSizing()now gives an undeclared columnflex: 1with a 150 px minimum, applied identically to header and cells; rows lay out at the measured body width so slack is shared rather than left empty.TableCellhanded a function style to a plainView(valid only onPressable), so every cell withoutonPresshad no height, padding, border, direction, or width.flex: 1container and body inside a content-sized Card. Chrome resolved that chain to 116 px and clipped the grid to a row and a half; Yoga resolved it to zero on native (Native: @scaffald/ui Table lays out unreadably on iPad — empty header, glyph row, overlapping cells #768). Both are content-sized now, and grid rows are a plain map like the stacked rows. A consumer wanting a bounded, internally scrolling table passesstyle={{ flex: 1 }}; none does.The title row on
/office/storagealso let its description Stack take full width and pushed the Refresh button off a phone's right edge (noted on #798); the Stack isflex={1}now.Measured (headless Chromium, signed in as the demo office user)
/office/cms/workerscolumnsAt 390 px web the table still stacks to labelled cards. Native is unaffected: the stacked branch uses neither
TableCellnorstyles.body, andstackedContaineris unchanged.Tests: ui
Table.grid.test.tspins the sizing rule and the content-sized containers; full ui suite 709/709.pnpm prepushgreen.🤖 Generated with Claude Code