1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-03 01:08:57 +09:00

Fix fields (#3596)

This commit is contained in:
MeiMei 2018-12-12 02:46:40 +09:00 committed by syuilo
parent d18d1cb958
commit df297d0031
3 changed files with 12 additions and 3 deletions

View File

@ -28,7 +28,9 @@
</div>
<div class="fields" v-if="user.fields">
<dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name">{{ field.name }}</dt>
<dt class="name">
<misskey-flavored-markdown :text="field.name" :shouldBreak="false" :plainText="true" :custom-emojis="user.emojis"/>
</dt>
<dd class="value">
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</dd>
@ -431,6 +433,7 @@ export default Vue.extend({
display flex
padding 0
margin 0
align-items center
> .name
padding 4px

View File

@ -20,7 +20,9 @@
</div>
<div class="fields" v-if="user.fields">
<dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name">{{ field.name }}</dt>
<dt class="name">
<misskey-flavored-markdown :text="field.name" :shouldBreak="false" :plainText="true" :custom-emojis="user.emojis"/>
</dt>
<dd class="value">
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</dd>
@ -189,6 +191,7 @@ export default Vue.extend({
display flex
padding 0
margin 0
align-items center
> .name
border-right solid 1px var(--faceDivider)

View File

@ -26,7 +26,9 @@
</div>
<div class="fields" v-if="user.fields">
<dl class="field" v-for="(field, i) in user.fields" :key="i">
<dt class="name">{{ field.name }}</dt>
<dt class="name">
<misskey-flavored-markdown :text="field.name" :shouldBreak="false" :plainText="true" :custom-emojis="user.emojis"/>
</dt>
<dd class="value">
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</dd>
@ -316,6 +318,7 @@ main
display flex
padding 0
margin 0
align-items center
> .name
padding 4px