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