Commit e573cdfb authored by Annabel Dunstone's avatar Annabel Dunstone

Fix graph scrolling bug

parent d7b3b15f
......@@ -232,20 +232,21 @@
// Pipeline visualization
.pipeline-visualization {
position: relative;
.pipeline-graph {
width: 100%;
overflow: auto;
white-space: nowrap;
}
.pipeline-visualization {
position: relative;
min-width: 1220px;
ul {
padding: 0;
}
}
.stage-column-list {
min-width: 1220px;
}
.stage-column {
display: inline-block;
vertical-align: top;
......
.row-content-block.white
.row-content-block.build-content.middle-block.pipeline-graph
.pipeline-visualization
%ul.stage-column-list
- pipeline.statuses.stages.each do |stage|
......@@ -19,7 +18,7 @@
= ci_icon_for_status(status)
= build.name
.row-content-block.build-content.middle-block
.row-content-block.build-content.middle-block.pipeline-graph
.pull-right
- if can?(current_user, :update_pipeline, pipeline.project)
- if pipeline.builds.latest.failed.any?(&:retryable?)
......
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