Skip to content

Commit

Permalink
fix(core/presentation): prevent the hover jitters on pipeline graph l…
Browse files Browse the repository at this point in the history
…abels (#7311)
  • Loading branch information
gcomstock authored and robzienert committed Aug 9, 2019
1 parent eb69803 commit cef1c09
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ pipeline-graph,
a:hover {
color: var(--color-mineshaft);
font-weight: 600;
letter-spacing: 0;
text-decoration: none;
}
div.execution-stage-label {
Expand All @@ -122,12 +123,14 @@ pipeline-graph,
-1px 0 0 var(--color-white);
word-wrap: break-word;
transition: color 0.2s;
letter-spacing: 0.015em;
}
&.active,
&.highlighted {
div.label-body {
color: var(--color-mineshaft);
font-weight: 600;
letter-spacing: 0;
}
div.execution-stage-label {
.label-component {
Expand All @@ -139,13 +142,15 @@ pipeline-graph,
text-shadow: none;
}
font-weight: 600;
letter-spacing: 0;
margin-left: -12px;
padding-left: 12px;
}
}
&.highlighted {
div.label-body {
font-weight: 400;
letter-spacing: 0.015em;
}
}
}
Expand Down

0 comments on commit cef1c09

Please sign in to comment.