feat(FN-907): add word wrap toggle to diff viewer in TaskChangesTab

- Add word wrap state and toggle button to TaskChangesTab component
- Add CSS styles for word wrap toggle in diff viewer
- Add tests for word wrap toggle functionality
This commit is contained in:
gsxdsm
2026-04-04 17:25:08 -07:00
parent 9f3991708e
commit 4802f7fa5a
3 changed files with 138 additions and 2 deletions

View File

@@ -3608,6 +3608,16 @@ body {
word-break: break-word;
}
.changes-diff-patch.changes-diff-patch--wrap {
white-space: pre-wrap;
word-break: break-word;
}
.changes-diff-patch.changes-diff-patch--nowrap {
white-space: pre;
word-break: normal;
}
/* Summary section - styled for done tasks with success accent */
.detail-summary {
background: rgba(63, 185, 80, 0.08);