Fix double scrollbar, I think

This commit is contained in:
Michael Shamoon 2021-03-03 20:42:50 -08:00
parent ef7775b658
commit e5f750dcbe
2 changed files with 2 additions and 6 deletions

View File

@ -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>
</ng-container>
<ng-container *ngIf="getContentType() == 'text/plain'">
<object [data]="previewUrl | safe" type="text/plain" class="preview" width="100%"></object>

View File

@ -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>
</ng-container>
<ng-container *ngIf="getContentType() == 'text/plain'">
<object [data]="previewUrl | safe" type="text/plain" class="preview" width="100%"></object>