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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
e573cdfb
Commit
e573cdfb
authored
Aug 09, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix graph scrolling bug
parent
d7b3b15f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+7
-6
app/views/projects/commit/_pipeline.html.haml
app/views/projects/commit/_pipeline.html.haml
+2
-3
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
e573cdfb
...
@@ -232,20 +232,21 @@
...
@@ -232,20 +232,21 @@
// Pipeline visualization
// Pipeline visualization
.pipeline-visualization
{
.pipeline-graph
{
position
:
relative
;
width
:
100%
;
width
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
white-space
:
nowrap
;
}
.pipeline-visualization
{
position
:
relative
;
min-width
:
1220px
;
ul
{
ul
{
padding
:
0
;
padding
:
0
;
}
}
}
}
.stage-column-list
{
min-width
:
1220px
;
}
.stage-column
{
.stage-column
{
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
top
;
vertical-align
:
top
;
...
...
app/views/projects/commit/_pipeline.html.haml
View file @
e573cdfb
.row-content-block.white
.row-content-block.build-content.middle-block.pipeline-graph
.pipeline-visualization
.pipeline-visualization
%ul
.stage-column-list
%ul
.stage-column-list
-
pipeline
.
statuses
.
stages
.
each
do
|
stage
|
-
pipeline
.
statuses
.
stages
.
each
do
|
stage
|
...
@@ -19,7 +18,7 @@
...
@@ -19,7 +18,7 @@
=
ci_icon_for_status
(
status
)
=
ci_icon_for_status
(
status
)
=
build
.
name
=
build
.
name
.row-content-block.build-content.middle-block
.row-content-block.build-content.middle-block
.pipeline-graph
.pull-right
.pull-right
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
-
if
pipeline
.
builds
.
latest
.
failed
.
any?
(
&
:retryable?
)
-
if
pipeline
.
builds
.
latest
.
failed
.
any?
(
&
:retryable?
)
...
...
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