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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user