Skip to content

Commit 5ecf327

Browse files
committed
fix: improve visibility of user messages in agent chat
Add a border to user message bubbles so they stand out from the background in dark mode, where the bg-surface-alt was nearly indistinguishable from the chat background.
1 parent 80b8861 commit 5ecf327

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/lib/components/AgentMessages.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
{:else if messages.length > 0}
118118
{#each messages as msg, i}
119119
{#if msg.role === 'USER'}
120-
<div class="rounded-lg bg-surface-alt px-3 py-2">
120+
<div class="rounded-lg border border-border bg-surface-alt px-3 py-2">
121121
<div>
122122
{#if msg.content}
123123
<p class="whitespace-pre-wrap text-text">{msg.content}</p>

0 commit comments

Comments
 (0)