mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-11 21:29:03 +09:00
Fix fields (#3596)
This commit is contained in:
parent
d18d1cb958
commit
df297d0031
@ -28,7 +28,9 @@
|
|||||||
</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">
|
||||||
<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">
|
<dd class="value">
|
||||||
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
||||||
</dd>
|
</dd>
|
||||||
@ -431,6 +433,7 @@ export default Vue.extend({
|
|||||||
display flex
|
display flex
|
||||||
padding 0
|
padding 0
|
||||||
margin 0
|
margin 0
|
||||||
|
align-items center
|
||||||
|
|
||||||
> .name
|
> .name
|
||||||
padding 4px
|
padding 4px
|
||||||
|
@ -20,7 +20,9 @@
|
|||||||
</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">
|
||||||
<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">
|
<dd class="value">
|
||||||
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
||||||
</dd>
|
</dd>
|
||||||
@ -189,6 +191,7 @@ export default Vue.extend({
|
|||||||
display flex
|
display flex
|
||||||
padding 0
|
padding 0
|
||||||
margin 0
|
margin 0
|
||||||
|
align-items center
|
||||||
|
|
||||||
> .name
|
> .name
|
||||||
border-right solid 1px var(--faceDivider)
|
border-right solid 1px var(--faceDivider)
|
||||||
|
@ -26,7 +26,9 @@
|
|||||||
</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">
|
||||||
<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">
|
<dd class="value">
|
||||||
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
<misskey-flavored-markdown :text="field.value" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
|
||||||
</dd>
|
</dd>
|
||||||
@ -316,6 +318,7 @@ main
|
|||||||
display flex
|
display flex
|
||||||
padding 0
|
padding 0
|
||||||
margin 0
|
margin 0
|
||||||
|
align-items center
|
||||||
|
|
||||||
> .name
|
> .name
|
||||||
padding 4px
|
padding 4px
|
||||||
|
Loading…
Reference in New Issue
Block a user