diff options
author | Marcel van Remmerden <mvanremmerden@gitlab.com> | 2019-05-30 12:54:12 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2019-05-30 12:54:12 +0000 |
commit | f88ffe414e4473f5f8506194512e2914dc6758ff (patch) | |
tree | 2c5c95e7d715f127c5ae8c5f4c1ba175d948fb61 /app/helpers/blob_helper.rb | |
parent | 82ccc8bc120c78efdf68f65d77a72adc5fb48410 (diff) | |
download | gitlab-ce-f88ffe414e4473f5f8506194512e2914dc6758ff.tar.gz |
Get copy to clipboard button aligned within snippet header
Diffstat (limited to 'app/helpers/blob_helper.rb')
-rw-r--r-- | app/helpers/blob_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 7e631053b54..0d6a6496993 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -188,7 +188,7 @@ module BlobHelper end def copy_file_path_button(file_path) - clipboard_button(text: file_path, gfm: "`#{file_path}`", class: 'btn-clipboard btn-transparent prepend-left-5', title: 'Copy file path to clipboard') + clipboard_button(text: file_path, gfm: "`#{file_path}`", class: 'btn-clipboard btn-transparent', title: 'Copy file path to clipboard') end def copy_blob_source_button(blob) |