diff options
| author | Henry Jameson <me@hjkos.com> | 2020-10-20 21:03:46 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-10-20 21:03:46 +0300 |
| commit | e8650d3409aa34a0195629d2077bad68bcade439 (patch) | |
| tree | d15b02c78e6dc86bc3b8a44e1e11bb9202b20aa4 /src/components/chat | |
| parent | 8b3a7ae8c0fec5f79971745f64aeb3c5ac470894 (diff) | |
chevrons-downs, settings
Diffstat (limited to 'src/components/chat')
| -rw-r--r-- | src/components/chat/chat.js | 8 | ||||
| -rw-r--r-- | src/components/chat/chat.vue | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js index 34e723d0..1630ba80 100644 --- a/src/components/chat/chat.js +++ b/src/components/chat/chat.js @@ -7,6 +7,14 @@ import ChatTitle from '../chat_title/chat_title.vue' import chatService from '../../services/chat_service/chat_service.js' import { promiseInterval } from '../../services/promise_interval/promise_interval.js' import { getScrollPosition, getNewTopPosition, isBottomedOut, scrollableContainerHeight } from './chat_layout_utils.js' +import { library } from '@fortawesome/fontawesome-svg-core' +import { + faChevronDown +} from '@fortawesome/free-solid-svg-icons' + +library.add( + faChevronDown +) const BOTTOMED_OUT_OFFSET = 10 const JUMP_TO_BOTTOM_BUTTON_VISIBILITY_OFFSET = 150 diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue index 2e4538c8..0d44c920 100644 --- a/src/components/chat/chat.vue +++ b/src/components/chat/chat.vue @@ -58,14 +58,15 @@ :class="{ 'visible': jumpToBottomButtonVisible }" @click="scrollDown({ behavior: 'smooth' })" > - <i class="icon-down-open"> + <span> + <FAIcon icon="chevron-down" /> <div v-if="newMessageCount" class="badge badge-notification unread-chat-count unread-message-count" > {{ newMessageCount }} </div> - </i> + </span> </div> <PostStatusForm :disable-subject="true" |
