commit:     bd69c347389e01b910b6b8f34f7f164e0e47823b
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sat Apr 26 14:34:43 2014 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 14:34:43 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/infra-status.git;a=commit;h=bd69c347

Fix tooltip location to avoid :last-child bugs

---
 lib/helpers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/helpers.rb b/lib/helpers.rb
index 85c62e0..9b37c49 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -24,7 +24,7 @@ helpers do
     services.each do |service|
       content << "
         <a class=\"list-group-item has-tooltip notice-link\" href=\"#notices\" 
title=\"#{status_text(service_status(service))}\"
-           data-toggle=\"tooltip\" data-placement=\"top\"
+           data-toggle=\"tooltip\" data-placement=\"top\" 
data-container=\"body\"
            data-service=\"#{service}\" 
data-service-name=\"#{ServiceRegistry.instance.services[service][:name].gsub 
'"', "'"}\">
         #{service_info service}
         #{ServiceRegistry.instance.services[service][:name]}

Reply via email to