Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix double scrollbar, I think

Michael Shamoone5f750dcbeea
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
index fd68996fa..098eff71c 100644
--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html
@@ -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>
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
index 1881a85ee..f0f3f8634 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
@@ -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>