From 7418429da19e25082b9f04af5873e339529ad3f9 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 20 Mar 2016 07:52:06 -0700 Subject: Move tooltip to the right of the dropdown --- app/helpers/button_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/helpers/button_helper.rb') 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
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
to pull or push via SSH.' } end -- cgit v1.2.1