diff options
| author | Henry Jameson <me@hjkos.com> | 2022-02-19 22:12:37 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-02-19 22:12:37 +0200 |
| commit | a61f6e1590ce82e3c81203193469acb461b0ba4b (patch) | |
| tree | e95a9964e756aeca054d379b0077a7aadb7226d2 /src | |
| parent | ee86f56469e0eec44f3d2afa948c0213f83d0740 (diff) | |
use rich content in interaction lists
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/user_list_popover/user_list_popover.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue index f4b93c9a..e706bd1b 100644 --- a/src/components/user_list_popover/user_list_popover.vue +++ b/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; |
