From 7874bb98ed38468c77d003ccf5f81130353254e0 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 28 Nov 2022 02:51:29 +0100 Subject: viewer/epub: use icons for navigation --- .../views/item_handlers/async/AsyncEpubViewer.vue | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue index 20b1bee..2d5c370 100644 --- a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue +++ b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue @@ -34,7 +34,14 @@ « {{ prevSectionLabel }} + > + + {{ prevSectionLabel }} +
  • @@ -45,7 +52,14 @@ {{ nextSectionLabel }} » + > + {{ nextSectionLabel }} + +
  • @@ -59,6 +73,10 @@ import ePub, { Rendition } from 'epubjs'; import { SpineItem } from 'epubjs/types/section'; import { computed, PropType, Ref, ref, toRef, watch } from 'vue'; import { useI18n } from 'vue-i18n'; +import { + faSquareCaretLeft, + faSquareCaretRight, +} from '@fortawesome/free-solid-svg-icons'; const { t } = useI18n(); const uiStore = useUiStore(); -- cgit v1.2.3