From 3ea68a7464e2165eb3fd65a676863d15a267c5df Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 27 Jan 2026 18:08:43 -0300 Subject: [PATCH] ui: preserve atlas ai line breaks --- frontend/src/views/AiView.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/AiView.vue b/frontend/src/views/AiView.vue index 7e3fbc1..7863a24 100644 --- a/frontend/src/views/AiView.vue +++ b/frontend/src/views/AiView.vue @@ -33,7 +33,7 @@
{{ msg.role === 'assistant' ? 'Atlas AI' : 'you' }}
-

{{ msg.content }}

+

{{ msg.content }}

streaming…
{{ msg.latency_ms }} ms
@@ -297,6 +297,10 @@ async function copyCurl() { border: 1px solid var(--card-border); background: rgba(255, 255, 255, 0.04); } +.message { + white-space: pre-wrap; + word-break: break-word; +} .bubble.streaming { border-color: rgba(0, 229, 197, 0.4); box-shadow: var(--glow-soft);