diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-18 16:45:14 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-26 14:01:40 -0500 |
commit | 99296b2efdb92ddf484e27ea3b8af4b058ea5911 (patch) | |
tree | a2a9dea27f4c9489b9ef464e57d53b1bf66a9c89 /app/helpers | |
parent | b82af5ef2f5c496751411a4c1a1be0c9cacd19b4 (diff) | |
download | gitlab-ce-99296b2efdb92ddf484e27ea3b8af4b058ea5911.tar.gz |
Hide button on mobile
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/diff_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/diff_helper.rb b/app/helpers/diff_helper.rb index 5c7317bdd40..d78b0b5a155 100644 --- a/app/helpers/diff_helper.rb +++ b/app/helpers/diff_helper.rb @@ -150,6 +150,6 @@ module DiffHelper end def toggle_whitespace_link(url) - link_to "#{hide_whitespace? ? 'Show' : 'Hide'} whitespace changes", url, class: 'btn btn-default' + link_to "#{hide_whitespace? ? 'Show' : 'Hide'} whitespace changes", url, class: 'btn btn-default hidden-xs' end end |