Commit e573cdfb authored by Annabel Dunstone's avatar Annabel Dunstone

Fix graph scrolling bug

parent d7b3b15f
...@@ -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;
......
.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?)
......
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