Result box wraps mid-word (letter wrapping instead of word wrapping) #135

Closed
opened 2026-09-10 03:42:26 +00:00 by fen · 1 comment
Collaborator

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).

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).
fen added the QAIn Progress labels 2026-09-10 03:49:41 +00:00
fen added spent time 45 seconds 2026-09-10 03:49:41 +00:00
fen removed the In Progress label 2026-09-10 03:49:46 +00:00
fen added spent time 15 seconds 2026-09-10 04:08:39 +00:00
fen closed this issue 2026-09-10 04:09:14 +00:00
Author
Collaborator

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.

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.
fen added spent time 59 minutes 2026-09-10 13:57:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Total Time Spent: 1 hour
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poslop/palette#135