Result box wraps mid-word (letter wrapping instead of word wrapping) #135
Notifications
Total Time Spent: 1 hour
fen
1 hour
No due date set.
Dependencies
No dependencies set.
Reference: poslop/palette#135
Reference in New Issue
Block a user
Bug: the RESULT box (result/status message element on the new paste page) wraps text mid-word instead of at word boundaries. Screenshot: 'Write or paste something firs' / 't.' - the word 'first' is split across lines.
Cause: word-break: break-all (or similar) applied to the result box text. Fix: use normal word wrapping - overflow-wrap: break-word with word-break: normal - so whole words wrap and only genuinely unbreakable long tokens (URLs, hashes) break. Apply to the result box specifically; do NOT change the paste code body wrapping behavior (the codebody intentionally keeps its own wrap logic).
QA passed: #result now uses word-break:normal + overflow-wrap:break-word (word wrapping, no mid-word breaks) on /new, verified locally and live on palette-dev. go vet/test clean, merged #145, deployed.