From 33d134f0933c50522c437f883d7cf52c1b974ecf Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Date: Wed, 25 Mar 2015 23:21:13 -0700 Subject: [PATCH] Fix diff header for discussion --- app/assets/stylesheets/base/gl_bootstrap.scss | 1 + app/assets/stylesheets/pages/notes.scss | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/base/gl_bootstrap.scss b/app/assets/stylesheets/base/gl_bootstrap.scss index e176cce5c69..62a3eade5c7 100644 --- a/app/assets/stylesheets/base/gl_bootstrap.scss +++ b/app/assets/stylesheets/base/gl_bootstrap.scss @@ -182,6 +182,7 @@ .panel-heading { padding: 6px 15px; font-size: 13px; + font-weight: normal; a { color: #777; } diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 70505dc4300..d66093bc2e5 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -90,8 +90,13 @@ ul.notes { } // Diff code in discussion view -.discussion-body .diff-file .line_content { - white-space: pre-wrap; +.discussion-body .diff-file { + .diff-header > span { + margin-right: 10px; + } + .line_content { + white-space: pre-wrap; + } } .diff-file .notes_holder { -- GitLab