From da4c6e8fb66b4d2669e3c6edbf554a35db5bbd5b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 25 Feb 2022 01:10:26 -0800 Subject: [PATCH] force ng2-pdf-viewer page width --- .../components/document-detail/document-detail.component.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 3bde0a41e..5512b6bb0 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 @@ -13,6 +13,7 @@ } } -::ng-deep .ng2-pdf-viewer-container { +::ng-deep .ng2-pdf-viewer-container .page { --page-margin: 1px 0 -8px; + width: 100% !important; }