From 55934aea2b8bcf47f60aa630fdcf94ee9e947fc5 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 18 Oct 2026 21:40:40 -0700 Subject: [PATCH] Move the pngx viewer page and zoom controls to floating over pdf --- .../document-detail.component.html | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index 184b623ab..08fc09318 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -1,25 +1,4 @@ - @if (archiveContentRenderType === ContentRenderType.PDF && !useNativePdfViewer) { - @if (previewNumPages()) { -
-
Page
- -
of {{previewNumPages()}}
-
- } -
- - - -
- } - @@ -499,6 +478,29 @@ (loadError)="onError($event)" (afterLoadComplete)="pdfPreviewLoaded($event)"> +
+ @if (previewNumPages()) { +
+ +
of {{previewNumPages()}}
+
+ } +
+ + + +
+
} @else {