diff options
| author | Henry Jameson <me@hjkos.com> | 2020-10-20 22:13:19 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-10-20 22:13:19 +0300 |
| commit | b19c2eb0fb45aca4f4a59c4afacaffddf695987d (patch) | |
| tree | 309aa7425bd839f70ffe4e811b6f3f38a22f1978 /src/components/chat | |
| parent | 046c60cb61bd585e2fb2850320d229ab0487d9ba (diff) | |
More stuff. Buttons in user card's corner now have MUCH bigger hitboxes
Diffstat (limited to 'src/components/chat')
| -rw-r--r-- | src/components/chat/chat.js | 6 | ||||
| -rw-r--r-- | src/components/chat/chat.scss | 8 | ||||
| -rw-r--r-- | src/components/chat/chat.vue | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js index 1630ba80..083f850f 100644 --- a/src/components/chat/chat.js +++ b/src/components/chat/chat.js @@ -9,11 +9,13 @@ import { promiseInterval } from '../../services/promise_interval/promise_interva import { getScrollPosition, getNewTopPosition, isBottomedOut, scrollableContainerHeight } from './chat_layout_utils.js' import { library } from '@fortawesome/fontawesome-svg-core' import { - faChevronDown + faChevronDown, + faChevronLeft } from '@fortawesome/free-solid-svg-icons' library.add( - faChevronDown + faChevronDown, + faChevronLeft ) const BOTTOMED_OUT_OFFSET = 10 diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 012a1b1d..b7b0d377 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -58,12 +58,8 @@ .go-back-button { cursor: pointer; - margin-right: 1.4em; - - i { - display: flex; - align-items: center; - } + margin-right: 1.7em; + margin-left: 0.3em; } .jump-to-bottom-button { diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue index 0d44c920..0670f1ac 100644 --- a/src/components/chat/chat.vue +++ b/src/components/chat/chat.vue @@ -14,7 +14,7 @@ class="go-back-button" @click="goBack" > - <i class="button-icon icon-left-open" /> + <FAIcon size="lg" icon="chevron-left" /> </a> <div class="title text-center"> <ChatTitle |
