diff options
author | Stan Hu <stanhu@gmail.com> | 2016-03-20 07:52:06 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-03-20 07:52:06 -0700 |
commit | 7418429da19e25082b9f04af5873e339529ad3f9 (patch) | |
tree | 8205a1ff0e912398d9cfc8511d72ed48c3e0d22c | |
parent | 91f9866cceb666f1e3800b6116c398c90332c764 (diff) | |
download | gitlab-ce-7418429da19e25082b9f04af5873e339529ad3f9.tar.gz |
Move tooltip to the right of the dropdown
-rw-r--r-- | app/helpers/button_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index c77a2a0f430..ee2cb6ab0ea 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -33,6 +33,8 @@ module ButtonHelper href: @project.http_url_to_repo, data: { html: true, + placement: 'right', + container: 'body', title: "Set a password on your account<br>to pull or push via #{protocol}" } end @@ -46,6 +48,8 @@ module ButtonHelper href: project.ssh_url_to_repo, data: { html: true, + placement: 'right', + container: 'body', title: 'Add an SSH key to your profile<br>to pull or push via SSH.' } end |