Commit d0d5dc8f authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray Committed by Felipe Artur

Merge branch '27963-tooltips-jobs' into 'master'

Fixes tooltips in mini pipeline graph

Closes #27963 and #28008

See merge request !9140
parent f4521b99
...@@ -94,6 +94,10 @@ ...@@ -94,6 +94,10 @@
padding: 10px 8px; padding: 10px 8px;
} }
td.stage-cell {
padding: 10px 0;
}
.commit-link { .commit-link {
padding: 9px 8px 10px; padding: 9px 8px 10px;
} }
...@@ -291,12 +295,14 @@ ...@@ -291,12 +295,14 @@
height: 22px; height: 22px;
margin: 3px 6px 3px 0; margin: 3px 6px 3px 0;
.tooltip { // Hack to show a button tooltip inline
white-space: nowrap; button.has-tooltip + .tooltip {
min-width: 105px;
} }
.tooltip-inner { // Bootstrap way of showing the content inline for anchors.
padding: 3px 4px; a.has-tooltip {
white-space: nowrap;
} }
&:not(:last-child) { &:not(:last-child) {
......
---
title: Fix tooltips in mini pipeline graph
merge_request:
author:
...@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do ...@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do
end end
it 'should close when toggle is clicked again' do it 'should close when toggle is clicked again' do
toggle.click toggle.trigger('click')
expect(toggle.find(:xpath, '..')).not_to have_selector('.mini-pipeline-graph-dropdown-menu') expect(toggle.find(:xpath, '..')).not_to have_selector('.mini-pipeline-graph-dropdown-menu')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment