Commit c1965dad authored by David O'Regan's avatar David O'Regan Committed by Natalia Tepluhina

Align pipeline icon to center

parent fd8c24f8
...@@ -272,6 +272,7 @@ export default { ...@@ -272,6 +272,7 @@ export default {
<ci-badge <ci-badge
:status="pipelineStatus" :status="pipelineStatus"
:show-text="!isChildView" :show-text="!isChildView"
:icon-classes="'gl-vertical-align-middle!'"
data-qa-selector="pipeline_commit_status" data-qa-selector="pipeline_commit_status"
/> />
</div> </div>
......
...@@ -39,6 +39,11 @@ export default { ...@@ -39,6 +39,11 @@ export default {
required: false, required: false,
default: true, default: true,
}, },
iconClasses: {
type: String,
required: false,
default: '',
},
}, },
computed: { computed: {
cssClass() { cssClass() {
...@@ -55,7 +60,7 @@ export default { ...@@ -55,7 +60,7 @@ export default {
:class="cssClass" :class="cssClass"
:title="!showText ? status.text : ''" :title="!showText ? status.text : ''"
> >
<ci-icon :status="status" /> <ci-icon :status="status" :css-classes="iconClasses" />
<template v-if="showText"> <template v-if="showText">
{{ status.text }} {{ status.text }}
......
---
title: Update pipeline button SVG to be center aligned
merge_request: 41066
author:
type: fixed
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