This file contains text with line breaks: https://i.sstatic.net/n8tSh.png
To display the text in a textarea, I'm using the following style:
textarea.journalctl{
width: 640px;
height: 620px;
white-space: nowrap;
}
Chrome displays the text correctly, with wraps only at the end of each line. Both horizontal and vertical scroll bars are active.
Textarea in Chrome: https://i.sstatic.net/WjHrI.png
Textarea in Firefox showing all text in one line: https://i.sstatic.net/TsiTG.png
How can I make them behave consistently? Wrapping the text only after a line break in the original file?