mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fix plain text preview overflow (#4555)
This commit is contained in:
parent
8e3fbdddc7
commit
18995b3561
@ -199,7 +199,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="getContentType() === 'text/plain'">
|
<ng-container *ngIf="getContentType() === 'text/plain'">
|
||||||
<object [data]="previewUrl | safeUrl" type="text/plain" class="preview-sticky bg-white" width="100%"></object>
|
<object [data]="previewUrl | safeUrl" type="text/plain" class="preview-sticky bg-light overflow-auto" width="100%"></object>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<div *ngIf="requiresPassword" class="password-prompt">
|
<div *ngIf="requiresPassword" class="password-prompt">
|
||||||
<form>
|
<form>
|
||||||
@ -242,7 +242,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="renderAsPlainText">
|
<ng-container *ngIf="renderAsPlainText">
|
||||||
<div [innerText]="previewText" class="preview-sticky bg-light p-3" width="100%"></div>
|
<div [innerText]="previewText" class="preview-sticky bg-light p-3 overflow-auto" width="100%"></div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<div *ngIf="requiresPassword" class="password-prompt">
|
<div *ngIf="requiresPassword" class="password-prompt">
|
||||||
<form>
|
<form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user