mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Fix: preserve text linebreaks in doc edit (#7908)
This commit is contained in:
parent
8e61a29137
commit
cb617531bc
2 changed files with 5 additions and 1 deletions
|
|
@ -379,7 +379,7 @@
|
|||
}
|
||||
}
|
||||
@case (ContentRenderType.Text) {
|
||||
<div class="preview-sticky bg-light p-3 overflow-auto" width="100%">{{previewText}}</div>
|
||||
<div class="preview-sticky bg-light p-3 overflow-auto whitespace-preserve" width="100%">{{previewText}}</div>
|
||||
}
|
||||
@case (ContentRenderType.Image) {
|
||||
<div class="preview-sticky">
|
||||
|
|
|
|||
|
|
@ -62,3 +62,7 @@ textarea.rtl {
|
|||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.whitespace-preserve {
|
||||
white-space: preserve;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue