Skip to content
Snippets Groups Projects
Commit 63caff8f authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray
Browse files

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

Fixes tooltips in mini pipeline graph

Closes #27963 and #28008

See merge request !9140
parents ae68bf26 18455939
No related branches found
No related tags found
No related merge requests found
Loading
@@ -94,6 +94,10 @@
Loading
@@ -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;
} }
Loading
@@ -291,12 +295,14 @@
Loading
@@ -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) {
Loading
Loading
---
title: Fix tooltips in mini pipeline graph
merge_request:
author:
Loading
@@ -66,7 +66,7 @@ feature 'Mini Pipeline Graph', :js, :feature do
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment