Fix tooltip scss for anchors.

Adds css for button's tooltips to have similar behavior.
Removes padding from mini graph table cell to guarantee stages don't break line on hover
This commit is contained in:
Filipa Lacerda 2017-02-10 15:27:45 +00:00
parent 199b17e556
commit 6b762b9af7
2 changed files with 14 additions and 4 deletions

View file

@ -94,6 +94,10 @@
padding: 10px 8px;
}
td.stage-cell {
padding: 10px 0;
}
.commit-link {
padding: 9px 8px 10px;
}
@ -291,12 +295,14 @@
height: 22px;
margin: 3px 6px 3px 0;
.tooltip {
white-space: nowrap;
// Hack to show a button tooltip inline
button.has-tooltip + .tooltip {
min-width: 105px;
}
.tooltip-inner {
padding: 3px 4px;
// Bootstrap way of showing the content inline for anchors.
a.has-tooltip {
white-space: nowrap;
}
&:not(:last-child) {

View file

@ -0,0 +1,4 @@
---
title: Fix tooltips in mini pipeline graph
merge_request:
author: