Commit bcf3591c authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'pipeline-icon-center' into 'master'

Align pipeline icon to center

See merge request gitlab-org/gitlab!41066
parents 775989c3 c1965dad
......@@ -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