diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-04-12 12:21:02 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-04-12 12:21:02 +0100 |
commit | 79731bfd5c2303639b5847752d52f4aa4aa6ecce (patch) | |
tree | 21fdcc5b60efdf29c634876b8b75f3cc678b9b66 | |
parent | 7457c1e1229cd1e90e608e8b247e2fbb217f05b6 (diff) | |
download | gitlab-ce-79731bfd5c2303639b5847752d52f4aa4aa6ecce.tar.gz |
Replaces CSS with utility class59841-show-commits
-rw-r--r-- | app/assets/stylesheets/framework/common.scss | 5 | ||||
-rw-r--r-- | app/views/projects/diffs/_text_file.html.haml | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss index c3031c3375e..be0073559b6 100644 --- a/app/assets/stylesheets/framework/common.scss +++ b/app/assets/stylesheets/framework/common.scss @@ -188,11 +188,6 @@ li.note { background-color: inherit; } -.show-suppressed-diff, -.show-all-commits { - cursor: pointer; -} - .error-message { padding: 10px; background: $red-400; diff --git a/app/views/projects/diffs/_text_file.html.haml b/app/views/projects/diffs/_text_file.html.haml index 56427a74d56..018c5b38536 100644 --- a/app/views/projects/diffs/_text_file.html.haml +++ b/app/views/projects/diffs/_text_file.html.haml @@ -1,7 +1,7 @@ - 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", |