align authors line

pull/244/head
Anton Romanov 5 years ago
parent 0d5f15614e
commit 0c81689fd3

@ -8,9 +8,13 @@
<span class="h6">{{ paper.title }}</span> <span class="h6">{{ paper.title }}</span>
</router-link> </router-link>
</div> </div>
<div class="col-sm-11 col"> <div class="col-sm-12 col">
<span class="text-muted" v-for="author in getAuthors" <span class="fa-stack fa-1x">
:key="author.id">{{ author }}</span> <div>
<i class="fa fa-circle fa-stack-2x" style="color: white"></i>
</div>
<i class="fa fa-file-text-o fa-stack-1x fa-inverse"></i></span>
<span class="text-muted" v-for="author in getAuthors">{{ author }}</span>
</div> </div>
</div> </div>
</template> </template>
@ -27,6 +31,7 @@
this.paper.authors.forEach(function (author) { this.paper.authors.forEach(function (author) {
authorsResult.push(author.lastName + " " + author.firstName); authorsResult.push(author.lastName + " " + author.firstName);
}); });
debugger;
return authorsResult.join(', ') return authorsResult.join(', ')
} }
} }

Loading…
Cancel
Save