moved mentions into a separate component - MentionLine, added collapsing

of mentions when there's too many of 'em
This commit is contained in:
Henry Jameson 2021-06-08 14:34:47 +03:00
parent 73127f0e25
commit 2f383c2c01
10 changed files with 151 additions and 28 deletions

View file

@ -310,13 +310,9 @@
{{ $t('status.mentions') }}
</span>
</span>
<MentionLink
v-for="mention in mentions"
class="mention-link"
:key="mention.statusnet_profile_url"
:content="mention.statusnet_profile_url"
:url="mention.statusnet_profile_url"
:first-mention="false"
<MentionsLine
:attentions="mentions"
class="mentions-line"
/>
</div>
</div>