Merged PR 969: #2379 TK Pdf Viewer Scrolling Fix

#2379 TK Pdf Viewer Scrolling Fix
This commit is contained in:
Nino Righi
2021-11-16 13:37:07 +00:00
committed by Andreas Schickinger
parent d98c30506e
commit 5086c3c82d
2 changed files with 3 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
[render-text]="true"
[(page)]="page"
(after-load-complete)="callBackFn($event)"
zoom-scale="page-height"
[fit-to-page]="true"
></pdf-viewer>
<button (click)="print()" class="cta-print" type="button">

View File

@@ -1,5 +1,5 @@
:host {
@apply grid grid-cols-1 relative overflow-scroll;
@apply grid grid-cols-1 relative overflow-auto;
max-height: calc(100vh - 4rem);
}
@@ -12,6 +12,7 @@ pdf-viewer {
::ng-deep .canvasWrapper {
@apply border-2 border-gray-200 border-solid rounded-card;
max-width: 99%;
}
}