Commit 3ab37aedf for llama.cpp

commit 3ab37aedfed642213c1878ecb46cb3770a3b50a3
Author: Aleksander Grygier <aleksander.grygier@gmail.com>
Date:   Tue Oct 27 12:19:02 2026 +0100

    ui: fix system message row stretching to full prompt height in WebKit (#31246)

    The expand button wrapping the system message card defaulted to
    inline-block. WebKit takes an inline-block's baseline from its last
    line even when that line is clipped by the card's max-height, so the
    row grew to the height of the whole prompt and left a large empty gap
    below the card. Make the button a block so the row matches the card.

    Assisted-by: Claude (Opus 5.5 Medium)

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 98bfa2e11..0c5d8fd7c 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
@@ -118,7 +118,7 @@
 		{#if message.content.trim()}
 			<div class="relative max-w-[80%]">
 				<button
-					class="group/expand w-full text-left {!isExpanded && showExpandButton
+					class="group/expand block w-full text-left {!isExpanded && showExpandButton
 						? 'cursor-pointer'
 						: 'cursor-auto'}"
 					onclick={showExpandButton && !isExpanded ? toggleExpand : undefined}