mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
style(Message.jsx): add whitespace-pre-wrap to the message editor to preserve line breaks
This commit is contained in:
parent
f5ff91cfbd
commit
2b7c1507ef
1 changed files with 1 additions and 2 deletions
|
|
@ -150,9 +150,8 @@ export default function Message({
|
|||
) : edit ? (
|
||||
<div className="flex min-h-[20px] flex-grow flex-col items-start gap-4 ">
|
||||
{/* <div className={`${blinker ? 'result-streaming' : ''} markdown prose dark:prose-invert light w-full break-words`}> */}
|
||||
|
||||
<div
|
||||
className="markdown prose dark:prose-invert light w-full break-words border-none focus:outline-none"
|
||||
className="markdown prose dark:prose-invert light w-full whitespace-pre-wrap break-words border-none focus:outline-none"
|
||||
contentEditable={true}
|
||||
ref={textEditor}
|
||||
suppressContentEditableWarning={true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue