From 80d2f34ad0ec7f6ca89f61954aa7ca936aa45859 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 25 Feb 2022 00:47:27 -0800 Subject: [PATCH] Fix pdf border --- .../components/document-detail/document-detail.component.html | 2 +- .../components/document-detail/document-detail.component.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 74990284c..b62d805c3 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 @@ -149,7 +149,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 9de0f0624..3bde0a41e 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 @@ -12,3 +12,7 @@ height: 100%; } } + +::ng-deep .ng2-pdf-viewer-container { + --page-margin: 1px 0 -8px; +}