mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix double scrollbar, I think
This commit is contained in:
parent
7a58479af4
commit
017a4c3c3c
@ -53,9 +53,7 @@
|
||||
</a>
|
||||
<ng-template #previewContent>
|
||||
<ng-container *ngIf="getContentType() == 'application/pdf'">
|
||||
<div class="preview">
|
||||
<object [data]="previewUrl | safe" class="preview" width="100%"></object>
|
||||
</div>
|
||||
<object [data]="previewUrl | safe" class="preview" width="100%"></object>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="getContentType() == 'text/plain'">
|
||||
<object [data]="previewUrl | safe" type="text/plain" class="preview" width="100%"></object>
|
||||
|
@ -47,9 +47,7 @@
|
||||
</a>
|
||||
<ng-template #previewContent>
|
||||
<ng-container *ngIf="getContentType() == 'application/pdf'">
|
||||
<div class="preview">
|
||||
<object [data]="previewUrl | safe" class="preview" width="100%"></object>
|
||||
</div>
|
||||
<object [data]="previewUrl | safe" class="preview" width="100%"></object>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="getContentType() == 'text/plain'">
|
||||
<object [data]="previewUrl | safe" type="text/plain" class="preview" width="100%"></object>
|
||||
|
Loading…
x
Reference in New Issue
Block a user