Locked mark (#3836)

This commit is contained in:
MeiMei
2019-01-05 19:59:10 +09:00
committed by syuilo
parent 84ea1fbd4d
commit d0aff4409d
3 changed files with 14 additions and 2 deletions

View File

@@ -7,7 +7,8 @@
<router-link :to="user | userPage" class="name">
<mk-user-name :user="user"/>
</router-link>
<span class="username">@{{ user | acct }}</span>
<span class="username">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></span>
<div class="description">
<misskey-flavored-markdown v-if="user.description" :text="user.description" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</div>
@@ -75,6 +76,9 @@ export default Vue.extend({
display block
opacity 0.7
> .locked
opacity 0.8
> .description
margin 8px 0 16px 0