aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorpacien2022-11-28 02:59:12 +0100
committerpacien2022-11-28 02:59:12 +0100
commit711d6a471930ef9caf6b09129226c68f5d74575a (patch)
tree33806a095da6d234dc12d126124193c30b9b7e47 /viewer
parent2aaeb66a074571979e0337e14a011b8038bdf124 (diff)
downloadldgallery-711d6a471930ef9caf6b09129226c68f5d74575a.tar.gz
viewer/epub: normalise item handler background for books
Book files expect a clear background.
Diffstat (limited to 'viewer')
-rw-r--r--viewer/src/assets/scss/theme.scss1
-rw-r--r--viewer/src/views/item_handlers/async/AsyncEpubViewer.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/theme.scss b/viewer/src/assets/scss/theme.scss
index fe70f17..6622fa5 100644
--- a/viewer/src/assets/scss/theme.scss
+++ b/viewer/src/assets/scss/theme.scss
@@ -57,6 +57,7 @@ $thumbnail-other-size: $body-line-height * 7em;
57$proposed-category-bgcolor: $palette-700; 57$proposed-category-bgcolor: $palette-700;
58$viewer-text: $palette-000; 58$viewer-text: $palette-000;
59$viewer-text-background: $palette-900; 59$viewer-text-background: $palette-900;
60$viewer-epub-background: $palette-000;
60 61
61// Layout 62// Layout
62 63
diff --git a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue
index 07e6dcb..b02eab3 100644
--- a/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue
+++ b/viewer/src/views/item_handlers/async/AsyncEpubViewer.vue
@@ -150,6 +150,7 @@ function goToNextSection() {
150 display: flex; 150 display: flex;
151 flex-direction: column; 151 flex-direction: column;
152 height: 100%; 152 height: 100%;
153 background-color: $viewer-epub-background;
153} 154}
154 155
155.epubView { 156.epubView {