Fix double scrollbar, I think

This commit is contained in:
Michael Shamoon committed 2021-03-03 20:42:50 -08:00
1 parent ef7775b658
commit e5f750dcbe
2 files changed
+2 -6

No files matched your search

@@ -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>