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: "フォロー" following: "フォロー"
followers: "フォロワー" followers: "フォロワー"
is-bot: "このアカウントはBotです" is-bot: "このアカウントはBotです"
no-description: "自己紹介はありません"
years-old: "{age}歳" years-old: "{age}歳"
year: "年" year: "年"
month: "月" month: "月"

View File

@ -22,6 +22,7 @@
<div class="body"> <div class="body">
<div class="description"> <div class="description">
<mfm v-if="user.description" :text="user.description" :is-note="false" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/> <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>
<div class="fields" v-if="user.fields"> <div class="fields" v-if="user.fields">
<dl class="field" v-for="(field, i) in user.fields" :key="i"> <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 padding 16px 16px 16px 154px
color var(--text) color var(--text)
> .description
> .empty
margin 0
opacity 0.5
> .fields > .fields
margin-top 16px margin-top 16px