Equal padding between table cells

This commit is contained in:
Filipa Lacerda 2017-02-22 21:23:34 +00:00
parent 49ec274359
commit fa5443e3a9
2 changed files with 22 additions and 51 deletions

View file

@ -55,21 +55,22 @@ require('../lib/utils/datetime_utility');
},
template: `
<td>
<p class="duration" v-if='duration'>
<span v-html='svgs.iconTimer'></span>
{{duration}}
</p>
<p class="finished-at" v-if='timeStopped'>
<i class="fa fa-calendar"></i>
<time
data-toggle="tooltip"
data-placement="top"
data-container="body"
:data-original-title='localTimeFinished'
>
{{timeStopped.words}}
</time>
</p>
<div class="pull-right">
<p class="duration" v-if='duration'>
<span v-html='svgs.iconTimer'></span>
{{duration}}
</p>
<p class="finished-at" v-if='timeStopped'>
<i class="fa fa-calendar"></i>
<time
data-toggle="tooltip"
data-placement="top"
data-container="body"
:data-original-title='localTimeFinished'>
{{timeStopped.words}}
</time>
</p>
</div>
</td>
`,
});

View file

@ -1,7 +1,4 @@
.pipelines {
width: 100%;
overflow: auto;
.realtime-loading {
font-size: 40px;
text-align: center;
@ -16,17 +13,16 @@
white-space: nowrap;
}
.table-holder {
width: 100%;
overflow: auto;
}
.commit-title {
margin: 0;
}
.controls {
white-space: nowrap;
}
.table.ci-table {
width: 100%;
table-layout: fixed;
.label {
margin-bottom: 3px;
@ -36,21 +32,9 @@
color: $black;
}
.pipeline-date,
.pipeline-status {
width: 10%;
}
.pipeline-info,
.pipeline-commit,
.pipeline-stages {
.stage-cell {
width: 20%;
}
.pipeline-actions {
width: 20%;
padding-right: 0;
}
}
}
@ -64,21 +48,7 @@
}
}
.content-list.pipelines .table-holder {
min-height: 300px;
}
.pipeline-holder {
width: 100%;
overflow: auto;
}
.table.ci-table {
min-width: 900px;
&.pipeline {
min-width: 650px;
}
&.builds-page {