summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-06-14 13:14:59 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-06-14 13:14:59 -0500
commite373ed514d3ffa8af911a9c5412ac42956d866cd (patch)
treea2b7281227aee7484c990a9b1de62ac9a01ba36c
parent64e85fdaffcd03ef52ff74953b1a4e0caf5a23e8 (diff)
downloadgitlab-ce-31782-fix-diff-discussion-file-title-misalignment.tar.gz
Fix file diff title and renames alignment in discussions31782-fix-diff-discussion-file-title-misalignment
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/31782 The unused toggle was removed previously, https://gitlab.com/gitlab-org/gitlab-ce/commit/cc37d1dfa11691f2d8357151d4b722b3d114881e#cf11229dd714f7f4b46f102ce6846e25528b6689_7_6
-rw-r--r--app/views/discussions/_diff_with_notes.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/discussions/_diff_with_notes.html.haml b/app/views/discussions/_diff_with_notes.html.haml
index 70042dee20f..4a41be972da 100644
--- a/app/views/discussions/_diff_with_notes.html.haml
+++ b/app/views/discussions/_diff_with_notes.html.haml
@@ -2,8 +2,9 @@
- blob = discussion.blob
.diff-file.file-holder
- .js-file-title.file-title
- = render "projects/diffs/file_header", diff_file: diff_file, url: discussion_path(discussion), show_toggle: false
+ .js-file-title.file-title.file-title-flex-parent
+ .file-header-content
+ = render "projects/diffs/file_header", diff_file: diff_file, url: discussion_path(discussion), show_toggle: false
.diff-content.code.js-syntax-highlight
%table