fix(planner): add truncation and title attribute to replacing-name span

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-09 10:31:13 +02:00
parent 278fda7d90
commit 9482ecbf36
2 changed files with 9 additions and 2 deletions

View File

@@ -43,9 +43,10 @@
</p>
<span
data-testid="replacing-name"
style="font-family: var(--font-display); font-size: 14px; text-decoration: line-through; opacity: 0.6; color: var(--color-text);"
title={replacingName}
style="display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 14px; text-decoration: line-through; opacity: 0.6; color: var(--color-text);"
>
{replacingName}{#if replacingMeta}<br />{replacingMeta}{/if}
{replacingName}{#if replacingMeta} · {replacingMeta}{/if}
</span>
</div>