mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Fix double scrollbar, I think
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user