From: Pascal Date: Mon, 20 Jul 2026 14:28:43 +0000 (+0200) Subject: ui: fix collapsed user bubble with markdown rendering (#25869) X-Git-Tag: upstream/0.0.10438~366 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=4ee6a9af71faceee99fed5eb98538b71772d86c6;p=pkg%2Fggml%2Fsources%2Fllama.cpp ui: fix collapsed user bubble with markdown rendering (#25869) Edge paragraph margins are now zeroed at the source in markdown-content.css, but the user bubble and the system message still carried the -my-4 compensation for them. The uncompensated negative margins shrank the wrapper 2rem below its content, collapsing single-line user bubbles into a scrollable sliver and skewing the system message expand threshold. --- diff --git a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte b/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte index 9d3d07a27..36798e228 100644 --- a/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte +++ b/tools/ui/src/lib/components/app/chat/ChatMessages/ChatMessage/ChatMessageSystem/ChatMessageSystem.svelte @@ -157,10 +157,7 @@ > {#if currentConfig.renderUserContentAsMarkdown}
- +
{:else} {#if renderMarkdown && currentConfig.renderUserContentAsMarkdown}
- +
{:else}