HomePhabricator

[Cashtab] Word-break for validation msgs

Description

[Cashtab] Word-break for validation msgs

Summary:
T3553

Long validation msgs can be cut-off as a long string early on will bump to the second line.

Add word-break: break-all to reduce this issue.

Note: The issue is not totally "solved," but this is a Cashtab design decision (validation error msgs are restricted to 2 lines. So, it is possible to generate one longer than 2 lines and see a cutoff).

Test Plan:
npm test

Before:

image.png (394×609 px, 322 KB)

solves problem for user-reported (and expected common) case:

image.png (267×479 px, 24 KB)

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D16031

Details

Provenance
bytesofmanAuthored on Apr 19 2024, 16:55
bytesofmanPushed on Apr 20 2024, 11:55
Reviewer
Restricted Project
Differential Revision
D16031: [Cashtab] Word-break for validation msgs
Parents
rABCf92c5f471ba0: [Cashtab] Stop using passLoadingStatus
Branches
Unknown
Tags
Unknown