Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
707ebedf
Commit
707ebedf
authored
Jun 05, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve spacing before and after graph.
parent
9830daa1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
app/assets/javascripts/pipelines/components/graph/graph_component.vue
...avascripts/pipelines/components/graph/graph_component.vue
+2
-1
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+15
-7
No files found.
app/assets/javascripts/pipelines/components/graph/graph_component.vue
View file @
707ebedf
...
...
@@ -96,7 +96,8 @@
v-for=
"(stage, index) in graph"
:class=
"
{
'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)"
:jobs="stage.groups"
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
707ebedf
...
...
@@ -1002,7 +1002,7 @@
display
:
inline-block
;
}
.linked-pipelines-column
{
.linked-pipelines-column
.stage-column
{
position
:
relative
;
&
>
ul
{
...
...
@@ -1010,18 +1010,18 @@
}
&
.graph-position-left
{
margin-right
:
$linked-project-column-margin
;
margin-right
:
36px
;
.cross-project-triangle
{
right
:
-
64
px
;
right
:
-
42
px
;
}
}
&
.graph-position-right
{
margin-left
:
$linked-project-column-margin
;
margin-left
:
36px
;
.cross-project-triangle
{
left
:
-6
4
px
;
left
:
-6
6
px
;
}
}
...
...
@@ -1049,10 +1049,18 @@
}
.stage-column.has-upstream
{
margin-left
:
$linked-project-column-margin
;
margin-left
:
60px
;
.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
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment