From 3facdefa40d5d071baa980493b6b6ef4d58538cb Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 17 May 2024 19:05:11 -0700 Subject: [PATCH] Fix: tweak pdf preview page borders --- .../common/preview-popup/preview-popup.component.html | 2 +- .../document-detail/document-detail.component.scss | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html index af745cba2..ecbc215d8 100644 --- a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html +++ b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html @@ -16,7 +16,7 @@ diff --git a/src-ui/src/app/components/document-detail/document-detail.component.scss b/src-ui/src/app/components/document-detail/document-detail.component.scss index 2e9e63e6e..e5032d3f3 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.scss +++ b/src-ui/src/app/components/document-detail/document-detail.component.scss @@ -5,6 +5,7 @@ } .pdf-viewer-container { + padding-top: 10px; background-color: gray; pdf-viewer { @@ -14,11 +15,8 @@ } ::ng-deep .ng2-pdf-viewer-container .page { - --page-margin: 10px auto; -} - -::ng-deep .ng2-pdf-viewer-container .page:last-child { - --page-margin: 10px auto 20px; + --page-margin: 0 auto 10px; + --page-border: 0; } ::ng-deep form .ng-select-taggable {