Commit bea966c1 authored by Regis's avatar Regis

fix initial svg spacing for stages

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