Commit 539ac258 authored by Phil Hughes's avatar Phil Hughes

Merge branch '59841-show-commits' into 'master'

Replaces CSS with utility class

See merge request gitlab-org/gitlab-ce!27311
parents d697c1d8 79731bfd
......@@ -188,11 +188,6 @@ li.note {
background-color: inherit;
}
.show-suppressed-diff,
.show-all-commits {
cursor: pointer;
}
.error-message {
padding: 10px;
background: $red-400;
......
- too_big = diff_file.diff_lines.count > Commit::DIFF_SAFE_LINES
- if too_big
.suppressed-container
%a.show-suppressed-diff.js-show-suppressed-diff= _("Changes suppressed. Click to show.")
%a.show-suppressed-diff.cursor-pointer.js-show-suppressed-diff= _("Changes suppressed. Click to show.")
%table.text-file.diff-wrap-lines.code.js-syntax-highlight.commit-diff{ data: diff_view_data, class: too_big ? 'hide' : '' }
= render partial: "projects/diffs/line",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment