|
@@ -1,5 +1,4 @@
|
|
<template>
|
|
<template>
|
|
- <!-- eslint-disable vue/no-v-html -->
|
|
|
|
<div
|
|
<div
|
|
class="chat-title"
|
|
class="chat-title"
|
|
:title="title"
|
|
:title="title"
|
|
@@ -14,12 +13,13 @@
|
|
height="23px"
|
|
height="23px"
|
|
/>
|
|
/>
|
|
</router-link>
|
|
</router-link>
|
|
- <span
|
|
|
|
|
|
+ <RichContent
|
|
class="username"
|
|
class="username"
|
|
- v-html="htmlTitle"
|
|
|
|
|
|
+ :title="'@'+user.screen_name_ui"
|
|
|
|
+ :html="htmlTitle"
|
|
|
|
+ :emoji="user.emoji"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
- <!-- eslint-enable vue/no-v-html -->
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script src="./chat_title.js"></script>
|
|
<script src="./chat_title.js"></script>
|
|
@@ -34,6 +34,8 @@
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
|
|
+ --emoji-size: 14px;
|
|
|
|
+
|
|
.username {
|
|
.username {
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
@@ -41,14 +43,6 @@
|
|
display: inline;
|
|
display: inline;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- text-overflow: ellipsis;
|
|
|
|
-
|
|
|
|
- .emoji {
|
|
|
|
- width: 14px;
|
|
|
|
- height: 14px;
|
|
|
|
- vertical-align: middle;
|
|
|
|
- object-fit: contain
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.Avatar {
|
|
.Avatar {
|