fix(harmonia): items-table text cells wrap; table scrolls inside its own container (#6493) - #6494
Merged
Conversation
…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>
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 #6493.
Two paper cuts on the generated document page, both presentation-only:
x-h-table-cellbakeswhitespace-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 withwhite-space: normal; overflow-wrap: anywhere, so a sentence-long item name wraps within its column. Numeric cells keep the nowrap + right alignment.x-h-table-container(Harmonia'srelative 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-nowrapregardless 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