From 422a9247587703ae149c1c716decc0fbb356afe2 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Thu, 7 Apr 2016 13:27:39 -0700 Subject: Fix side-by-side code format & commit message wrap --- app/assets/stylesheets/pages/commit.scss | 2 ++ app/assets/stylesheets/pages/diff.scss | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'app/assets') diff --git a/app/assets/stylesheets/pages/commit.scss b/app/assets/stylesheets/pages/commit.scss index 082911bd118..358d2f4ab9d 100644 --- a/app/assets/stylesheets/pages/commit.scss +++ b/app/assets/stylesheets/pages/commit.scss @@ -20,6 +20,8 @@ margin: 0; padding: 0; margin-top: 10px; + word-break: normal; + white-space: pre-wrap; } .commit-info-row { diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss index 939555bb260..97f4485beb8 100644 --- a/app/assets/stylesheets/pages/diff.scss +++ b/app/assets/stylesheets/pages/diff.scss @@ -109,6 +109,10 @@ display: table-cell; } } + + .text-file.diff-wrap-lines table .line_holder td span { + white-space: pre-wrap; + } } .image { background: #ddd; -- cgit v1.2.1