Use white-space: pre-line for invoice notes and payment instructions

I want the `white-space: pre` to preserve the newline characters that
users may have used, but this prevents line wrapping and long lines are
not confined within the page margins.

`pre-line` preserves the newlines, but collapses spaces and tabs, and
wraps long text, which is more what i want.
This commit is contained in:
jordi fita mas 2023-05-22 11:23:19 +02:00
parent 5cae0efe8f
commit 65ee8a139c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
}
.invoice .notes, .invoice .payment-instructions {
white-space: pre;
white-space: pre-line;
text-align: right;
}