Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from Uyuhz/master
Browse files Browse the repository at this point in the history
Add blogger symbol
  • Loading branch information
JohnNiang authored Sep 30, 2019
2 parents a5adcaf + 87a65e9 commit e4e94df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CommentNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
v-text="comment.author"
/>
</span>
<span v-if="comment.isAdmin" class="header-admin">博主</span>
<span class="header-time">{{createTimeAgo}}</span>
<a :href="'#'+comment.id">
<span
Expand Down
6 changes: 6 additions & 0 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@
}
}

.header-admin {
padding: 0 2px;
margin-right: 5px;
border: 1px solid #cedced;
}

.header-time {
position: relative;
font-size: 13px;
Expand Down

0 comments on commit e4e94df

Please sign in to comment.