Commit 9694b992 authored by Annabel Dunstone's avatar Annabel Dunstone

Add margin between buttons if both retry and cancel are present

parent 94a08ec1
......@@ -128,6 +128,12 @@
color: $table-text-gray;
}
.cancel-retry-btns {
.btn:not(:first-child) {
margin-left: 8px;
}
}
.dropdown-toggle,
.dropdown-menu {
color: $table-text-gray;
......
......@@ -80,6 +80,7 @@
%span Download '#{build.name}' artifacts
- if can?(current_user, :update_pipeline, @project)
.cancel-retry-btns
- 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")
......
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