From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 2 Jun 2022 18:00:56 +0000 (-0700) Subject: Fix vertical margins between pages of pdf viewer X-Git-Tag: v1.8.0-beta.rc1~63^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1081%2Fhead;p=thirdparty%2Fpaperless-ngx.git Fix vertical margins between pages of pdf viewer --- 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 c5823fd080..3ae922564f 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%;