mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +00:00
🎨
This commit is contained in:
parent
8c0e65ce6f
commit
d8de9f8eba
2 changed files with 7 additions and 0 deletions
|
@ -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: "月"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue