summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-18 16:51:41 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-26 14:01:40 -0500
commit4d6c40df9a928054e3d1c6d6c477f3a35fa950f6 (patch)
tree3c5febcda646d55b54caef34719c1e5dbd56473d /app
parent22bd7f4d83a255e3e23d3e421fbb1a56f0c67394 (diff)
downloadgitlab-ce-4d6c40df9a928054e3d1c6d6c477f3a35fa950f6.tar.gz
Hide button on mobile
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/diffs/_diffs.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml
index 22adebd91e5..d9c4b410d32 100644
--- a/app/views/projects/diffs/_diffs.html.haml
+++ b/app/views/projects/diffs/_diffs.html.haml
@@ -8,9 +8,9 @@
.inline-parallel-buttons
- if show_whitespace_toggle
- if current_controller?(:commit)
- = commit_diff_whitespace_link(@project, @commit)
+ = commit_diff_whitespace_link(@project, @commit, class: 'hidden-xs')
- elsif current_controller?(:merge_requests)
- = diff_merge_request_whitespace_link(@project, @merge_request)
+ = diff_merge_request_whitespace_link(@project, @merge_request, class: 'hidden-xs')
.btn-group
= inline_diff_btn
= parallel_diff_btn