Commit bea966c1 authored by Regis's avatar Regis

fix initial svg spacing for stages

parent 5838b160
......@@ -40,7 +40,7 @@
return `Build: ${this.stage.status.label}`;
},
tooltip() {
return `has-tooltip ci-status-icon-${this.stage.status.group}`;
return `has-tooltip ci-status-icon ci-status-icon-${this.stage.status.group}`;
},
svg() {
const icon = this.stage.status.icon;
......@@ -52,38 +52,36 @@
},
},
template: `
<div class="stage-container mini-pipeline-graph">
<div class="dropdown inline build-content">
<div class="dropdown inline build-content">
<button
@click='fetchBuilds'
@blur='fetchBuilds'
class="has-tooltip builds-dropdown js-builds-dropdown-button"
data-placement="top"
:title='stage.title'
data-toggle="dropdown"
type="button"
>
<span :class='tooltip'>
<span class="mini-pipeline-graph-icon-container">
<span
:class='spanClass'
v-html='svg'
>
</span>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
<button
@click='fetchBuilds'
@blur='fetchBuilds'
class="has-tooltip builds-dropdown js-builds-dropdown-button"
data-placement="top"
:title='stage.title'
data-toggle="dropdown"
type="button"
>
<span :class='tooltip'></span>
<span class="mini-pipeline-graph-icon-container">
<span
:class='spanClass'
v-html='svg'
>
</span>
</button>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
</span>
</button>
<div class="js-builds-dropdown-container">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="arrow-up"></div>
<div
:class='dropdownClass'
v-html='buildsOrSpinner'
>
</div>
<div class="js-builds-dropdown-container">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="arrow-up"></div>
<div
:class='dropdownClass'
v-html='buildsOrSpinner'
>
</div>
</div>
</div>
......
......@@ -10,7 +10,7 @@
template: `
<td class="stage-cell">
<div
class="stage-container"
class="stage-container mini-pipeline-graph"
v-for='stage in pipeline.details.stages'
>
<vue-stage :stage='stage' :svgs='svgs' :match='match'></vue-stage>
......
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