Fix: also wrap non-breaking words in chat messages, handle whitespace (#13211)

This commit is contained in:
shamoon authored and GitHub committed 2026-07-22 22:25:19 -07:00
1 parent 5ea8cf2335
commit be40356d2e
2 files changed
+2 -1

No files matched your search

@@ -9,7 +9,7 @@
@for (message of messages(); track message) {
<div class="message d-flex flex-row small" [class.justify-content-end]="message.role === 'user'">
<div class="p-2 m-2" [class.bg-body]="message.role === 'user'">
<span>
<span class="text-break">
{{ message.content }}
@if (message.isStreaming) { <span class="blinking-cursor">|</span> }
</span>