diff --git a/backend/static/styles/diff.css b/backend/static/styles/diff.css index d5c920c3b..25029167c 100644 --- a/backend/static/styles/diff.css +++ b/backend/static/styles/diff.css @@ -12,7 +12,8 @@ border: 1px solid transparent; vertical-align: top; font: 1em monospace; - text-align: left; + text-align: left; } + #diff-ui pre { white-space: pre-wrap; } h1 { diff --git a/backend/static/styles/diff.scss b/backend/static/styles/diff.scss index 203f6a770..7f08a5fae 100644 --- a/backend/static/styles/diff.scss +++ b/backend/static/styles/diff.scss @@ -16,9 +16,10 @@ vertical-align: top; font: 1em monospace; text-align: left; - white-space: pre-wrap; } - + pre { + white-space: pre-wrap; + } } h1 { display: inline;