Align cancel and retry buttons

This commit is contained in:
Annabel Dunstone 2016-07-16 17:51:39 -05:00
parent 1395edc06f
commit e72fe97e42
2 changed files with 3 additions and 1 deletions

View File

@ -129,6 +129,8 @@
}
.cancel-retry-btns {
vertical-align: middle;
.btn:not(:first-child) {
margin-left: 8px;
}

View File

@ -71,7 +71,7 @@
%span Download '#{build.name}' artifacts
- if can?(current_user, :update_pipeline, @project)
.cancel-retry-btns
.cancel-retry-btns.inline
- if pipeline.retryable?
= link_to retry_namespace_project_pipeline_path(@project.namespace, @project, pipeline.id), class: 'btn has-tooltip', title: "Retry", method: :post do
= icon("repeat")