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 | |
parent | a1b68aa4394e92ce6398531c4cbf58cd593a64e4 (diff) | |
download | gitlab-ce-d48b95e285b96b35d010b6c657fdd196ccce0768.tar.gz |
Fixed the job tootip being cut-off
Closes #29800
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/ci/status/_graph_badge.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/stage/_in_stage_group.html.haml | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/app/views/projects/stage/_in_stage_group.html.haml b/app/views/projects/stage/_in_stage_group.html.haml index 9c5eb501174..671a3ef481c 100644 --- a/app/views/projects/stage/_in_stage_group.html.haml +++ b/app/views/projects/stage/_in_stage_group.html.haml @@ -1,5 +1,5 @@ - group_status = CommitStatus.where(id: subject).status -%button.dropdown-menu-toggle.build-content.has-tooltip{ type: 'button', data: { toggle: 'dropdown', title: "#{name} - #{group_status}" } } +%button.dropdown-menu-toggle.build-content.has-tooltip{ type: 'button', data: { toggle: 'dropdown', title: "#{name} - #{group_status}", container: 'body' } } %span{ class: "ci-status-icon ci-status-icon-#{group_status}" } = ci_icon_for_status(group_status) %span.ci-status-text |