[dyad] Added character count to length indicator - wrote 2 file(s)

This commit is contained in:
[dyad]
2026-01-20 12:06:41 +01:00
parent 4c06ed78cf
commit 80e41c5bbc
2 changed files with 8 additions and 3 deletions

View File

@@ -49,7 +49,12 @@ export function LengthIndicator({ length, type }: LengthIndicatorProps) {
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<div className={cn("h-3 w-3 rounded-full", colorClass)} />
<div className="flex items-center gap-2 cursor-default">
<div className={cn("h-3 w-3 rounded-full", colorClass)} />
<span className="text-sm font-medium text-muted-foreground w-8 text-right">
{length}
</span>
</div>
</TooltipTrigger>
<TooltipContent>
<p>