From 6bf172fb25e2bff67df44fa5b0c86ca6b4442cbb Mon Sep 17 00:00:00 2001 From: Dimitrios Kaitantzidis Date: Fri, 27 Oct 2023 20:08:13 +0300 Subject: [PATCH] Adds navbar logo to pdf viewer --- src/main/resources/static/pdfjs/css/viewer.css | 4 ++-- src/main/resources/templates/view-pdf.html | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/pdfjs/css/viewer.css b/src/main/resources/static/pdfjs/css/viewer.css index 16262801..14a8aff0 100644 --- a/src/main/resources/static/pdfjs/css/viewer.css +++ b/src/main/resources/static/pdfjs/css/viewer.css @@ -2352,14 +2352,14 @@ body { .secondaryToolbar, .editorParamsToolbar { position: relative; - height: 32px; + height: 35px; background-color: var(--toolbar-bg-color); box-shadow: var(--toolbar-box-shadow); border-bottom: var(--toolbar-border-bottom); } #toolbarViewer { - height: 32px; + height: 35px; } #loadingBar { diff --git a/src/main/resources/templates/view-pdf.html b/src/main/resources/templates/view-pdf.html index 140fe988..2cb93dee 100644 --- a/src/main/resources/templates/view-pdf.html +++ b/src/main/resources/templates/view-pdf.html @@ -27,6 +27,12 @@ See https://github.com/adobe-type-tools/cmap-resources PDF.js viewer + + + @@ -336,6 +342,14 @@ See https://github.com/adobe-type-tools/cmap-resources tabindex="15" data-l10n-id="page" autocomplete="off"> + + icon + Stirling PDF + + + icon + +