diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-22 09:12:06 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-22 09:12:06 +0000 |
commit | d48b95e285b96b35d010b6c657fdd196ccce0768 (patch) | |
tree | ee4c7ddbce9406d680ef2870495e6810d16c84fd /app/views/ci | |
parent | a1b68aa4394e92ce6398531c4cbf58cd593a64e4 (diff) | |
download | gitlab-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.haml | 4 |
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) |