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/media_modal | |
| parent | 046c60cb61bd585e2fb2850320d229ab0487d9ba (diff) | |
More stuff. Buttons in user card's corner now have MUCH bigger hitboxes
Diffstat (limited to 'src/components/media_modal')
| -rw-r--r-- | src/components/media_modal/media_modal.js | 10 | ||||
| -rw-r--r-- | src/components/media_modal/media_modal.vue | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/components/media_modal/media_modal.js b/src/components/media_modal/media_modal.js index 24764e80..e7384c93 100644 --- a/src/components/media_modal/media_modal.js +++ b/src/components/media_modal/media_modal.js @@ -3,6 +3,16 @@ import VideoAttachment from '../video_attachment/video_attachment.vue' import Modal from '../modal/modal.vue' import fileTypeService from '../../services/file_type/file_type.service.js' import GestureService from '../../services/gesture_service/gesture_service' +import { library } from '@fortawesome/fontawesome-svg-core' +import { + faChevronLeft, + faChevronRight +} from '@fortawesome/free-solid-svg-icons' + +library.add( + faChevronLeft, + faChevronRight +) const MediaModal = { components: { diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 46931667..cbcfc6d2 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -34,7 +34,7 @@ class="modal-view-button-arrow modal-view-button-arrow--prev" @click.stop.prevent="goPrev" > - <i class="icon-left-open arrow-icon" /> + <FAIcon class="arrow-icon" icon="chevron-left" /> </button> <button v-if="canNavigate" @@ -42,7 +42,7 @@ class="modal-view-button-arrow modal-view-button-arrow--next" @click.stop.prevent="goNext" > - <i class="icon-right-open arrow-icon" /> + <FAIcon class="arrow-icon" icon="chevron-right" /> </button> </Modal> </template> |
