aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat/chat.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-10-28 21:21:35 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-10-28 21:21:35 +0000
commita84db4bd8f04bdfc14836f55f441aa8478265291 (patch)
treec5e08f042c0cbab4cc212e35c624d5afa65b85bc /src/components/chat/chat.js
parente2c4816feb700d25bbeaebee6c5a67ae5f478e90 (diff)
parentef36ca44f613c3d7d2ea11a9ad4f7fe828f7ae83 (diff)
Merge branch 'fontawesome5' into 'develop'
FontAwesome 5 Closes #982 See merge request pleroma/pleroma-fe!1260
Diffstat (limited to 'src/components/chat/chat.js')
-rw-r--r--src/components/chat/chat.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js
index 34e723d0..083f850f 100644
--- a/src/components/chat/chat.js
+++ b/src/components/chat/chat.js
@@ -7,6 +7,16 @@ 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,
+ faChevronLeft
+} from '@fortawesome/free-solid-svg-icons'
+
+library.add(
+ faChevronDown,
+ faChevronLeft
+)
const BOTTOMED_OUT_OFFSET = 10
const JUMP_TO_BOTTOM_BUTTON_VISIBILITY_OFFSET = 150