fix(table): wrap long cell values to stop horizontal overflow #138
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mapps-152-truncate-list-table-cells"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TableCell used
whitespace-nowrap, so a long value (e.g. a 255-charcompany name, including an unbroken single token) rendered on one line and
forced the whole list table to overflow horizontally, pushing the other
columns off-screen and adding a horizontal scrollbar. Switch the shared
TableCell component (and the mirrored
.table-cellstyle in input.css) tobreak-wordsso long values wrap and their column shrinks, keeping everycolumn visible regardless of value length. Callers that need single-line
cells still opt back in via the appended
class(whitespace-nowraportruncate), which wins.#MAPPS-152