summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-28 12:11:05 +0100
committerPhil Hughes <me@iamphill.com>2017-08-03 17:03:49 +0100
commitd86cbe69410a9a20bdeb996435a134c71ee87863 (patch)
tree13c30b051a387fabbd4563f2af86e5a48d41b6ed /app/views/projects/diffs
parent30777178e3311c8aa7f4ecae82bd970fda63d85c (diff)
downloadgitlab-ce-d86cbe69410a9a20bdeb996435a134c71ee87863.tar.gz
fixed alignment in button
correctly scroll to element with sticky height offset
Diffstat (limited to 'app/views/projects/diffs')
-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 7c2941e6be3..38fccb3d44f 100644
--- a/app/views/projects/diffs/_stats.html.haml
+++ b/app/views/projects/diffs/_stats.html.haml
@@ -4,7 +4,7 @@
Showing
%button.diff-stats-summary-toggler.js-diff-stats-dropdown{ type: "button", data: { toggle: "dropdown" } }<
= pluralize(diff_files.size, "changed file")
- = icon("caret-down fw")
+ = icon("caret-down", class: "prepend-left-5")
%span.diff-stats-additions-deletions-expanded#diff-stats
with
%strong.cgreen #{sum_added_lines} additions
@@ -16,7 +16,7 @@
%strong.cred<
\-#{sum_removed_lines}
.dropdown-menu.diff-file-changes
- = dropdown_filter("Search file")
+ = dropdown_filter("Search files")
.dropdown-content
%ul
- diff_files.each do |diff_file|