]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Add white background to plaintext documents 9/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 13 Jan 2022 19:13:33 +0000 (11:13 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 13 Jan 2022 19:13:33 +0000 (11:13 -0800)
src-ui/src/app/components/document-detail/document-detail.component.html

index 989c998f16fa92fa0436eb881a175167dd5e0317..7553337003a51b799a7a56b985dff03e6d18a72e 100644 (file)
             </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>