Commit 89d7c75a authored by Phil Hughes's avatar Phil Hughes

Merge branch '2971-multiproject-grah' into 'master'

Fixes alignments and strokes in mini graph for pipeline

Closes #2971

See merge request !2506
parents d4b7326f 3538047a
...@@ -269,6 +269,14 @@ ...@@ -269,6 +269,14 @@
border-bottom: 2px solid $border-color; border-bottom: 2px solid $border-color;
} }
} }
&.has-downstream {
&::after {
content: '';
width: 0;
border: none;
}
}
} }
} }
...@@ -618,8 +626,8 @@ ...@@ -618,8 +626,8 @@
} }
// Dropdown button in mini pipeline graph // Dropdown button in mini pipeline graph
.mini-pipeline-graph-dropdown-toggle, button.mini-pipeline-graph-dropdown-toggle,
.linked-pipeline-mini-item { a.linked-pipeline-mini-item {
border-radius: 100px; border-radius: 100px;
background-color: $white-light; background-color: $white-light;
border-width: 1px; border-width: 1px;
...@@ -630,6 +638,7 @@ ...@@ -630,6 +638,7 @@
padding: 0; padding: 0;
transition: all 0.2s linear; transition: all 0.2s linear;
position: relative; position: relative;
vertical-align: middle;
> .fa.fa-caret-down { > .fa.fa-caret-down {
position: absolute; position: absolute;
...@@ -934,12 +943,13 @@ ...@@ -934,12 +943,13 @@
&.is-downstream { &.is-downstream {
margin-left: -4px; margin-left: -4px;
margin-right: 4px;
} }
.arrow-icon { .arrow-icon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin: -2px 5px 0; margin: -4px 2px 0 0;
svg { svg {
fill: $gray-darkest; fill: $gray-darkest;
...@@ -956,20 +966,23 @@ ...@@ -956,20 +966,23 @@
position: relative; position: relative;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 20px; height: 22px;
width: 20px; width: 22px;
transition: margin .2s linear; transition: margin .2s linear;
margin: 2px 5px 3px -12px; margin: 2px 7px 3px -14px;
svg { svg {
top: 0; height: 22px;
right: 0; width: 22px;
width: 18px; position: absolute;
height: 18px; top: -1px;
left: -1px;
z-index: 2;
overflow: visible;
} }
// override dropdown-toggle width expansion // override dropdown-toggle width expansion
&:hover { &:hover {
width: 20px; width: 22px;
} }
&:first-of-type:last-of-type { &:first-of-type:last-of-type {
......
---
title: Fix CSS for mini graph with downstream pipeline
merge_request:
author:
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