Skip to content

fix(harmonia): items-table text cells wrap; table scrolls inside its own container (#6493) - #6494

Merged
delchev merged 1 commit into
masterfrom
fix/items-table-wrap
Aug 4, 2026
Merged

fix(harmonia): items-table text cells wrap; table scrolls inside its own container (#6493)#6494
delchev merged 1 commit into
masterfrom
fix/items-table-wrap

Conversation

@delchev

@delchev delchev commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Closes #6493.

Two paper cuts on the generated document page, both presentation-only:

  • Text cells wrap. x-h-table-cell bakes whitespace-nowrap; the generated line-items table (and the shared detail-panel tables on the document/manage/master pages) now override it on non-numeric cells with white-space: normal; overflow-wrap: anywhere, so a sentence-long item name wraps within its column. Numeric cells keep the nowrap + right alignment.
  • The table scrolls inside itself. The line-items table is wrapped in a bare x-h-table-container (Harmonia's relative w-full overflow-x-auto), so an over-wide table gets its own horizontal scrollbar instead of growing past the page column and rendering under the status-stepper widget.

Inline styles rather than utility classes on purpose: the override must beat the directive-injected whitespace-nowrap regardless of which utilities the precompiled Harmonia CSS happens to contain.

No IT: this is a presentation-only template change with no behavior, routes, or data shapes touched (the acceptance criterion is visual - a 120-char item name wraps within its column and nothing renders under the stepper).

🤖 Generated with Claude Code

…de its own container (#6493)

The Harmonia x-h-table-cell directive bakes whitespace-nowrap into every
cell, so a sentence-long item name - normal invoice data - never wrapped
and the generated line-items table grew past the page column, rendering
behind the status stepper. Text (non-numeric) cells now override the
nowrap (white-space: normal; overflow-wrap: anywhere) and the line-items
table is wrapped in x-h-table-container (w-full overflow-x-auto), so an
over-wide table scrolls inside itself instead of overlapping page
furniture. The shared detail-panel tables on the document/manage/master
pages get the same text-cell wrap; their container already scrolls.

Presentation-only template change - no behavior, routes or data shapes
are touched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev
delchev merged commit d3f6cf5 into master Aug 4, 2026
10 checks passed
@delchev
delchev deleted the fix/items-table-wrap branch August 4, 2026 13:56
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.

Generated items table: long text does not wrap and the table bleeds under page overlays

1 participant