This commit is contained in:
syuilo 2019-02-20 07:15:08 +09:00
parent 4a0945afe7
commit 76702406fe
2 changed files with 7 additions and 0 deletions

View file

@ -1506,6 +1506,7 @@ desktop/views/pages/user/user.header.vue:
following: "フォロー"
followers: "フォロワー"
is-bot: "このアカウントはBotです"
no-description: "自己紹介はありません"
years-old: "{age}歳"
year: "年"
month: "月"

View file

@ -22,6 +22,7 @@
<div class="body">
<div class="description">
<mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
<p v-else class="empty">{{ $t('no-description') }}</p>
</div>
<div class="fields" v-if="user.fields">
<dl class="field" v-for="(field, i) in user.fields" :key="i">
@ -213,6 +214,11 @@ export default Vue.extend({
padding 16px 16px 16px 154px
color var(--text)
> .description
> .empty
margin 0
opacity 0.5
> .fields
margin-top 16px