Align right for created field

This commit is contained in:
loganhz 2017-12-06 12:49:40 +08:00
parent 022a37a34d
commit b2fab982e0
3 changed files with 5 additions and 4 deletions

View File

@ -75,15 +75,15 @@
} }
.text-left { .text-left {
text-align: left; text-align: left !important;
} }
.text-center { .text-center {
text-align: center; text-align: center !important;
} }
.text-right { .text-right {
text-align: right; text-align: right !important;
} }
.text-small { .text-small {

View File

@ -17,6 +17,7 @@ const headers = [
translationKey: 'generic.created', translationKey: 'generic.created',
name: 'created', name: 'created',
sort: ['created'], sort: ['created'],
classNames: 'text-right pr-20',
width: 200, width: 200,
}, },
] ]

View File

@ -29,7 +29,7 @@
<span class="text-muted">&ndash;</span> <span class="text-muted">&ndash;</span>
{{/if}} {{/if}}
</td> </td>
<td data-title="{{t 'generic.created'}}:" > <td data-title="{{t 'generic.created'}}:" class="text-right pr-20">
{{date-calendar row.created}} {{date-calendar row.created}}
</td> </td>
<td data-title="{{t 'generic.actions'}}:" class="actions"> <td data-title="{{t 'generic.actions'}}:" class="actions">