From e8650d3409aa34a0195629d2077bad68bcade439 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 20 Oct 2020 21:03:46 +0300 Subject: [PATCH] chevrons-downs, settings --- src/components/chat/chat.js | 8 ++++++ src/components/chat/chat.vue | 5 ++-- .../contrast_ratio/contrast_ratio.vue | 26 ++++++++++++++----- src/components/font_control/font_control.js | 8 ++++++ src/components/font_control/font_control.vue | 2 +- .../interface_language_switcher.vue | 10 ++++++- .../settings_modal/tabs/filtering_tab.js | 8 ++++++ .../settings_modal/tabs/filtering_tab.vue | 2 +- .../settings_modal/tabs/general_tab.js | 8 ++++++ .../settings_modal/tabs/general_tab.vue | 4 +-- .../tabs/theme_tab/theme_tab.js | 8 ++++++ .../tabs/theme_tab/theme_tab.vue | 4 +-- .../shadow_control/shadow_control.js | 14 ++++++++++ .../shadow_control/shadow_control.vue | 10 +++---- 14 files changed, 97 insertions(+), 20 deletions(-) diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js index 34e723d0fb..1630ba802e 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 2e4538c84c..0d44c92065 100644 --- a/src/components/chat/chat.vue +++ b/src/components/chat/chat.vue @@ -58,14 +58,15 @@ :class="{ 'visible': jumpToBottomButtonVisible }" @click="scrollDown({ behavior: 'smooth' })" > - + +
{{ newMessageCount }}
-
+ - + - + - + - + - + - +