Featuer: Add style for author link

This commit is contained in:
winkidney
2019-11-27 14:19:20 +08:00
committed by Isaac Bythewood
parent aee9e1d217
commit 60c36d3085

View File

@@ -22,7 +22,7 @@
<img class="avatar" :src="item.avatar" alt=""> <img class="avatar" :src="item.avatar" alt="">
</div> </div>
<div class="pin-info"> <div class="pin-info">
<span class="dim">pined by&nbsp;<span>{{ item.author }}</span> <span class="dim">pined by&nbsp;<span><router-link to="/">{{ item.author }}</router-link></span>
<template v-if="item.tags.length > 0"> <template v-if="item.tags.length > 0">
&nbsp;in&nbsp; &nbsp;in&nbsp;
<template v-for="tag in item.tags"> <template v-for="tag in item.tags">
@@ -153,7 +153,7 @@ $avatar-height: 30px;
width: 220px; width: 220px;
padding-left: $avatar-width + 5px; padding-left: $avatar-width + 5px;
} }
.pin-tag > a { .pin-info a {
font-weight: bold; font-weight: bold;
} }
} }