Skip to content

Commit

Permalink
Fix: tweak pdf preview page borders
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed May 18, 2024
1 parent e283bbe commit 3facdef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
}

.pdf-viewer-container {
padding-top: 10px;
background-color: gray;

pdf-viewer {
Expand All @@ -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 {
Expand Down

0 comments on commit 3facdef

Please sign in to comment.