summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-03-22 09:12:06 +0000
committerPhil Hughes <me@iamphill.com>2017-03-22 09:12:06 +0000
commitd48b95e285b96b35d010b6c657fdd196ccce0768 (patch)
treeee4c7ddbce9406d680ef2870495e6810d16c84fd /app/views/ci
parenta1b68aa4394e92ce6398531c4cbf58cd593a64e4 (diff)
downloadgitlab-ce-d48b95e285b96b35d010b6c657fdd196ccce0768.tar.gz
Fixed the job tootip being cut-off
Closes #29800
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/status/_graph_badge.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/status/_graph_badge.html.haml b/app/views/ci/status/_graph_badge.html.haml
index 0530d21a7e2..128b418090f 100644
--- a/app/views/ci/status/_graph_badge.html.haml
+++ b/app/views/ci/status/_graph_badge.html.haml
@@ -6,7 +6,7 @@
- tooltip = "#{subject.name} - #{status.label}"
- if status.has_details?
- = link_to status.details_path, class: 'build-content has-tooltip', data: { toggle: 'tooltip', title: tooltip } do
+ = link_to status.details_path, class: 'build-content has-tooltip', data: { toggle: 'tooltip', title: tooltip, container: 'body' } do
%span{ class: klass }= custom_icon(status.icon)
.ci-status-text= subject.name
- else
@@ -15,6 +15,6 @@
.ci-status-text= subject.name
- if status.has_action?
- = link_to status.action_path, class: 'ci-action-icon-container has-tooltip', method: status.action_method, data: { toggle: 'tooltip', title: status.action_title } do
+ = link_to status.action_path, class: 'ci-action-icon-container has-tooltip', method: status.action_method, data: { toggle: 'tooltip', title: status.action_title, container: 'body' } do
%i.ci-action-icon-wrapper{ class: "js-#{status.action_icon.dasherize}" }
= custom_icon(status.action_icon)