Merge pull request #9 from shamoon/fix/issue-1228

Add white background to plaintext documents
This commit is contained in:
Michael Shamoon 2022-02-14 22:14:36 -08:00 committed by GitHub
commit c2621f4633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@
</ng-template>
</ng-container>
<ng-container *ngIf="getContentType() == 'text/plain'">
<object [data]="previewUrl | safe" type="text/plain" class="preview-sticky" width="100%"></object>
<object [data]="previewUrl | safe" type="text/plain" class="preview-sticky bg-white" width="100%"></object>
</ng-container>
</div>