Skip to content

admin/ui: never let table cells wrap and grow rows#887

Merged
benben merged 1 commit into
mainfrom
ben/admin-ui-nowrap-tables
Jul 3, 2026
Merged

admin/ui: never let table cells wrap and grow rows#887
benben merged 1 commit into
mainfrom
ben/admin-ui-nowrap-tables

Conversation

@benben

@benben benben commented Jul 3, 2026

Copy link
Copy Markdown
Member

Org rows (and potentially any table) grew tall when long values like UUIDs line-wrapped inside a cell.

Fix at the single chokepoint: whitespace-nowrap on the base TableCell/TableHead primitives in ui/table.tsx. Every table in the admin UI (DataTable-backed and raw) renders through these, so no cell can ever wrap and inflate row height again. The Table wrapper is already overflow-auto, so oversized content degrades to horizontal scroll instead of taller rows. A column that genuinely needs wrapping can still opt back in via className.

Frontend-only, one file. Verified with npm run build and eyeballed against prod data via the dev proxy (Orgs UUIDs back to one line, dense rows).

🤖 Generated with Claude Code

whitespace-nowrap on the base TableCell/TableHead primitives so long
content (UUIDs, hostnames, timestamps) can never line-break and inflate
row height in any table. The Table wrapper is overflow-auto, so wide
content horizontal-scrolls instead. Per-cell className can still opt a
column back into wrapping.
@benben benben enabled auto-merge (squash) July 3, 2026 07:39
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Test Impact Plan

Deterministic summary of how this PR changes tests, CI runners, and coverage-risk signals.

Summary

Area Added Changed Deleted
Test files 0 0 0
E2E/journey files 0 0 0
Workflow files 0 0 0

Signals

  • Test cases: +0 / -0
  • Assertions: +0 / -0
  • Skips or known failures added: 0
  • Workflow continue-on-error added: 0
  • Workflow path filters added: 0
  • Test commands removed from justfile: 0
  • E2E/journey retry lines added: 0

Coverage risk: neutral or increased

No coverage-reduction warnings detected.

@benben benben merged commit 59f5a51 into main Jul 3, 2026
20 checks passed
@benben benben deleted the ben/admin-ui-nowrap-tables branch July 3, 2026 07:40
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.

1 participant