Fix: tweak pdf preview page borders

This commit is contained in:
shamoon 2024-05-17 19:05:11 -07:00
parent e283bbe5c2
commit 3facdefa40
2 changed files with 4 additions and 6 deletions

View File

@ -16,7 +16,7 @@
<pdf-viewer
[src]="previewURL"
[original-size]="false"
[show-borders]="true"
[show-borders]="false"
[show-all]="true"
(error)="onError($event)">
</pdf-viewer>

View File

@ -5,6 +5,7 @@
}
.pdf-viewer-container {
padding-top: 10px;
background-color: gray;
pdf-viewer {
@ -14,11 +15,8 @@
}
::ng-deep .ng2-pdf-viewer-container .page {
--page-margin: 10px auto;
}
::ng-deep .ng2-pdf-viewer-container .page:last-child {
--page-margin: 10px auto 20px;
--page-margin: 0 auto 10px;
--page-border: 0;
}
::ng-deep form .ng-select-taggable {