From 1259d0630272894cd44392b26ab7861bec924369 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 2 Jun 2022 11:00:56 -0700 Subject: [PATCH] Fix vertical margins between pages of pdf viewer --- .../document-detail/document-detail.component.scss | 6 +++++- 1 file changed, 5 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 c5823fd08..3ae922564 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 @@ -14,10 +14,14 @@ } ::ng-deep .ng2-pdf-viewer-container .page { - --page-margin: 1px 0 -8px; + --page-margin: 1px 0 10px; width: 100% !important; } +::ng-deep .ng2-pdf-viewer-container .page:last-child { + --page-margin: 1px 0 20px; +} + .password-prompt { position: absolute; top: 30%;