Skip to content
Snippets Groups Projects
Commit df297d00 authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Fix fields (#3596)

parent d18d1cb9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment