Merge branch 'pipelines-build-tooltip' into 'master'
Fixed the job tootip being cut-off Closes #29800 See merge request !10135
This commit is contained in:
commit
74459e0c36
3 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
4
changelogs/unreleased/pipelines-build-tooltip.yml
Normal file
4
changelogs/unreleased/pipelines-build-tooltip.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fixed job tooltip being cut-off
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue