Skip to content

Web: the Office storage table renders cells without column widths and clips the body to ~116 px on desktop #799

Closed
Scaffald/ui
#37

Description

@thinkclay

Found while verifying #796 on web (headless Chromium, 1280 and 1700 px wide, signed in as an office user, local dev server on main + the #796 branch, whose change is a no-op on web).

What happens

/office/storage → "Top users by storage consumption": the header row sits ~127 px below the search input with nothing in the gap, data cells render at their content width rather than the column width (Eric White65.0 MB40.0 MB20.0 MB5.0 MB runs together, cell w: 54 under a header cell w: 124), and the table body is a scroll container of fixed height 116 px holding 232 px of rows, so only two of the four rows are visible and the card looks empty.

Measured with getBoundingClientRect on the rendered DOM:

header cell "Total Usage"   x:405 y:617 w:124 h:40   (row w:1050)
data cell   "65.0 MB"       x:382 y:657 w:54  h:48   (row w:1050)
body scroller               y:617 h:116  overflow hidden/auto, content h:232

The summary cards, usage breakdown, search input and the "Refresh table" button on the same page lay out correctly.

Where to look

Whether this predates #794 is not established. Bisect: run the same page against main with the ui pointer at the pre-#794 commit (c67f930d2^) before touching the component.

Acceptance

  • On desktop web, header and data cells share column widths and the four seeded rows render in full without an inner 116 px scroll box
  • A ui test pins the web grid layout (cell width follows the column definition) so the native stacking work in fix(native): no cookie sheet on iOS/Android, and Office tables render as cards on an iPad #794 cannot regress it again
  • The other OfficePageLayout tables (/office/cms/workers, /office/cms/jobs) checked on desktop web at the same time

Related: #794, #768, #796.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Frontendbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions