summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-11 13:00:55 +0100
committerPhil Hughes <me@iamphill.com>2017-09-13 14:29:52 +0100
commiteed4439e2006a8738b7dbf11a96dd709eaf423eb (patch)
treead5f409ed8561012c1e967eba36889860e05a64f /app/views
parent7bd66b7612dde47a85ca19d478fdd32810eb55de (diff)
downloadgitlab-ce-eed4439e2006a8738b7dbf11a96dd709eaf423eb.tar.gz
Fixed overflow issue in changes dropdownchanges-overflow-fix
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/_stats.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_stats.html.haml b/app/views/projects/diffs/_stats.html.haml
index ad2d355ab4a..2de2cf9e38c 100644
--- a/app/views/projects/diffs/_stats.html.haml
+++ b/app/views/projects/diffs/_stats.html.haml
@@ -21,9 +21,9 @@
%ul
- diff_files.each do |diff_file|
%li
- %a{ href: "##{hexdigest(diff_file.file_path)}", title: diff_file.new_path }
+ %a.diff-changed-file{ href: "##{hexdigest(diff_file.file_path)}", title: diff_file.new_path }
= icon("#{diff_file_changed_icon(diff_file)} fw", class: "#{diff_file_changed_icon_color(diff_file)} append-right-5")
- %span.diff-file-changes-path= diff_file.new_path
+ %span.diff-file-changes-path.append-right-5= diff_file.new_path
.pull-right
%span.cgreen<
+#{diff_file.added_lines}