Browse Source

use rich content in interaction lists

Henry Jameson 2 years ago
parent
commit
a61f6e1590
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/components/user_list_popover/user_list_popover.vue

+ 7 - 1
src/components/user_list_popover/user_list_popover.vue

@@ -22,7 +22,12 @@
             />
             <div class="user-list-names">
               <!-- eslint-disable vue/no-v-html -->
-              <span v-html="user.name_html" />
+              <RichContent
+                class="username"
+                :title="'@'+user.screen_name_ui"
+                :html="user.name_html"
+                :emoji="user.emoji"
+              />
               <!-- eslint-enable vue/no-v-html -->
               <span class="user-list-screen-name">{{ user.screen_name_ui }}</span>
             </div>
@@ -47,6 +52,7 @@
 
 .user-list-popover {
   padding: 0.5em;
+  --emoji-size: 16px;
 
   .user-list-row {
     padding: 0.25em;