Skip to content

Commit 0c73abf

Browse files
committed
chore: add whiteSpace: 'pre-wrap' for nicer placeholder formatting
1 parent 9fc210d commit 0c73abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/compass-assistant/src/assistant-chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export const AsisstantChat: React.FunctionComponent<AsisstantChatProps> = ({
6060
alignSelf: message.role === 'user' ? 'flex-end' : 'flex-start',
6161
maxWidth: '80%',
6262
wordWrap: 'break-word',
63+
whiteSpace: 'pre-wrap',
6364
}}
6465
>
6566
{message.parts

0 commit comments

Comments
 (0)