This commit is contained in:
Timothy Jaeryang Baek
2026-02-17 01:00:19 -06:00
parent 05b8768fb9
commit 23b1e2cca4
@@ -94,7 +94,11 @@
open = !open; open = !open;
}} }}
> >
<div class="w-full font-medium flex items-center gap-1.5 {isExecuting ? 'shimmer' : ''}"> <div
class="w-full max-w-full font-medium flex items-center gap-1.5 {isExecuting
? 'shimmer'
: ''}"
>
<!-- Status icon --> <!-- Status icon -->
{#if isExecuting} {#if isExecuting}
<div> <div>
@@ -111,7 +115,11 @@
{/if} {/if}
<!-- Label --> <!-- Label -->
<div class=""> <div class="flex-1 line-clamp-1">
<!-- Short label (below md) -->
<span class="@md:hidden font-semibold text-black dark:text-white">{attributes.name}</span>
<!-- Full label (md and above) -->
<span class="hidden @md:inline">
{#if isDone} {#if isDone}
<Markdown <Markdown
id={`${componentId}-tool-call-title`} id={`${componentId}-tool-call-title`}
@@ -127,10 +135,11 @@
})} })}
/> />
{/if} {/if}
</span>
</div> </div>
<!-- Chevron --> <!-- Chevron -->
<div class="flex self-center translate-y-[1px]"> <div class="flex shrink-0 self-center translate-y-[1px]">
{#if open} {#if open}
<ChevronUp strokeWidth="3.5" className="size-3.5" /> <ChevronUp strokeWidth="3.5" className="size-3.5" />
{:else} {:else}