summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-11 10:17:56 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-10-11 11:03:47 +0100
commitb0646c4f23aff0343c2fd455c7dc5de52ca6a362 (patch)
tree2dfe0752e07f9df79e96581144d8b05363b93739
parent4269e303515386f38a135fd07ad38955c027e424 (diff)
downloadgitlab-ce-22635-clipboard-icon.tar.gz
Adds btn-transparent class in correct place due to changes in master22635-clipboard-icon
-rw-r--r--app/helpers/button_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index 353e7fd33fd..85e1dc33ee8 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -15,7 +15,7 @@ module ButtonHelper
#
# See http://clipboardjs.com/#usage
def clipboard_button(data = {})
- css_class = data[:class] || 'btn-clipboard'
+ css_class = data[:class] || 'btn-clipboard btn-transparent'
data = { toggle: 'tooltip', placement: 'bottom', container: 'body' }.merge(data)
content_tag :button,
icon('clipboard'),