summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-04-26 16:34:43 +0200
committerAlex Legler <alex@a3li.li>2014-04-26 16:34:43 +0200
commitbd69c347389e01b910b6b8f34f7f164e0e47823b (patch)
tree48408bbb13fc13e73f87be906f5c5ef043059126
parentglyphicons update (diff)
downloadinfra-status-bd69c347389e01b910b6b8f34f7f164e0e47823b.tar.gz
infra-status-bd69c347389e01b910b6b8f34f7f164e0e47823b.tar.bz2
infra-status-bd69c347389e01b910b6b8f34f7f164e0e47823b.zip
Fix tooltip location to avoid :last-child bugs
-rw-r--r--lib/helpers.rb2
1 files changed, 1 insertions, 1 deletions
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]}