From b19c2eb0fb45aca4f4a59c4afacaffddf695987d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 20 Oct 2020 22:13:19 +0300 Subject: More stuff. Buttons in user card's corner now have MUCH bigger hitboxes --- src/components/chat_message/chat_message.js | 6 ++++-- src/components/chat_message/chat_message.scss | 2 +- src/components/chat_message/chat_message.vue | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/components/chat_message') diff --git a/src/components/chat_message/chat_message.js b/src/components/chat_message/chat_message.js index 4ad993e3..bb380f87 100644 --- a/src/components/chat_message/chat_message.js +++ b/src/components/chat_message/chat_message.js @@ -9,11 +9,13 @@ import ChatMessageDate from '../chat_message_date/chat_message_date.vue' import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator' import { library } from '@fortawesome/fontawesome-svg-core' import { - faTimes + faTimes, + faEllipsisH } from '@fortawesome/free-solid-svg-icons' library.add( - faTimes + faTimes, + faEllipsisH ) const ChatMessage = { diff --git a/src/components/chat_message/chat_message.scss b/src/components/chat_message/chat_message.scss index 7d4ff60c..53ca7cce 100644 --- a/src/components/chat_message/chat_message.scss +++ b/src/components/chat_message/chat_message.scss @@ -24,7 +24,7 @@ } } - .icon-ellipsis { + .menu-icon { cursor: pointer; &:hover, .extra-button-popover.open & { diff --git a/src/components/chat_message/chat_message.vue b/src/components/chat_message/chat_message.vue index 7973e5ef..d5b8bb9e 100644 --- a/src/components/chat_message/chat_message.vue +++ b/src/components/chat_message/chat_message.vue @@ -62,9 +62,10 @@ -- cgit v1.2.3-70-g09d2