Add white background to plaintext documents

This commit is contained in:
Michael Shamoon 2022-01-13 11:13:33 -08:00
parent 197aec2945
commit 85399cf99f

View File

@ -143,7 +143,7 @@
</ng-template> </ng-template>
</ng-container> </ng-container>
<ng-container *ngIf="getContentType() == 'text/plain'"> <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> </ng-container>
</div> </div>