Commit 707ebedf authored by Bryce Johnson's avatar Bryce Johnson

Improve spacing before and after graph.

parent 9830daa1
...@@ -96,7 +96,8 @@ ...@@ -96,7 +96,8 @@
v-for="(stage, index) in graph" v-for="(stage, index) in graph"
:class="{ :class="{
'has-upstream': index === 0 && hasTriggeredBy, 'has-upstream': index === 0 && hasTriggeredBy,
'has-downstream': index === graph.length - 1 && hasTriggered 'has-downstream': index === graph.length - 1 && hasTriggered,
'has-only-one-job': stage.groups.length === 1
}" }"
:title="capitalizeStageName(stage.name)" :title="capitalizeStageName(stage.name)"
:jobs="stage.groups" :jobs="stage.groups"
......
...@@ -1002,7 +1002,7 @@ ...@@ -1002,7 +1002,7 @@
display: inline-block; display: inline-block;
} }
.linked-pipelines-column { .linked-pipelines-column.stage-column {
position: relative; position: relative;
& > ul { & > ul {
...@@ -1010,18 +1010,18 @@ ...@@ -1010,18 +1010,18 @@
} }
&.graph-position-left { &.graph-position-left {
margin-right: $linked-project-column-margin; margin-right: 36px;
.cross-project-triangle { .cross-project-triangle {
right: -64px; right: -42px;
} }
} }
&.graph-position-right { &.graph-position-right {
margin-left: $linked-project-column-margin; margin-left: 36px;
.cross-project-triangle { .cross-project-triangle {
left: -64px; left: -66px;
} }
} }
...@@ -1049,10 +1049,18 @@ ...@@ -1049,10 +1049,18 @@
} }
.stage-column.has-upstream { .stage-column.has-upstream {
margin-left: $linked-project-column-margin; margin-left: 60px;
.left-connector { .left-connector {
@include flat-connector-before($linked-project-column-margin); @include flat-connector-before(60px)
}
&.has-only-one-job {
margin-left: 30px;
.left-connector {
@include flat-connector-before;
}
} }
} }
......
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