mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 03:33:09 +02: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: "フォロー"
|
||||
followers: "フォロワー"
|
||||
is-bot: "このアカウントはBotです"
|
||||
no-description: "自己紹介はありません"
|
||||
years-old: "{age}歳"
|
||||
year: "年"
|
||||
month: "月"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue