diff --git a/src-ui/src/app/components/chat/chat/chat.component.html b/src-ui/src/app/components/chat/chat/chat.component.html
index 19859063f..00c65459e 100644
--- a/src-ui/src/app/components/chat/chat/chat.component.html
+++ b/src-ui/src/app/components/chat/chat/chat.component.html
@@ -9,7 +9,7 @@
@for (message of messages(); track message) {
-
+
{{ message.content }}
@if (message.isStreaming) { | }
diff --git a/src-ui/src/app/components/chat/chat/chat.component.scss b/src-ui/src/app/components/chat/chat/chat.component.scss
index ccd714f3c..f14be66e2 100644
--- a/src-ui/src/app/components/chat/chat/chat.component.scss
+++ b/src-ui/src/app/components/chat/chat/chat.component.scss
@@ -5,6 +5,7 @@
.chat-messages {
max-height: 350px;
overflow-y: auto;
+ white-space: pre-wrap;
}
.chat-references {