From a61f6e1590ce82e3c81203193469acb461b0ba4b Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 19 Feb 2022 22:12:37 +0200 Subject: use rich content in interaction lists --- src/components/user_list_popover/user_list_popover.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/components/user_list_popover') 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 @@ />
- + {{ user.screen_name_ui }}
@@ -47,6 +52,7 @@ .user-list-popover { padding: 0.5em; + --emoji-size: 16px; .user-list-row { padding: 0.25em; -- cgit v1.2.3-70-g09d2 From 769a9a14fe99785270596ac587ac65f48d2043ac Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 19 Feb 2022 22:22:21 +0200 Subject: add emoji to chat titles --- src/components/chat_title/chat_title.vue | 18 ++++++------------ src/components/user_list_popover/user_list_popover.vue | 1 + 2 files changed, 7 insertions(+), 12 deletions(-) (limited to 'src/components/user_list_popover') diff --git a/src/components/chat_title/chat_title.vue b/src/components/chat_title/chat_title.vue index b16ed39d..a92028e8 100644 --- a/src/components/chat_title/chat_title.vue +++ b/src/components/chat_title/chat_title.vue @@ -1,5 +1,4 @@ @@ -34,6 +34,8 @@ white-space: nowrap; align-items: center; + --emoji-size: 14px; + .username { max-width: 100%; text-overflow: ellipsis; @@ -41,14 +43,6 @@ display: inline; word-wrap: break-word; overflow: hidden; - text-overflow: ellipsis; - - .emoji { - width: 14px; - height: 14px; - vertical-align: middle; - object-fit: contain - } } .Avatar { diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue index e706bd1b..8706d0ff 100644 --- a/src/components/user_list_popover/user_list_popover.vue +++ b/src/components/user_list_popover/user_list_popover.vue @@ -52,6 +52,7 @@ .user-list-popover { padding: 0.5em; + --emoji-size: 16px; .user-list-row { -- cgit v1.2.3-70-g09d2