Fix xs avatar alignment and dashboard task row layout

Adjust xs avatar vertical offset from top-[2px] to -top-px for better
baseline alignment. Restructure dashboard recent tasks rows so the
timestamp sits right-aligned outside the title text flow and title
truncates properly on desktop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-20 11:35:59 -06:00
parent 39f8d38528
commit aa329f4b8a
2 changed files with 19 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ export function Identity({ name, avatarUrl, initials, size = "default", classNam
return (
<span className={cn("inline-flex gap-1.5", size === "xs" ? "items-baseline gap-1" : "items-center", size === "lg" && "gap-2", className)}>
<Avatar size={size} className={size === "xs" ? "relative top-[2px]" : undefined}>
<Avatar size={size} className={size === "xs" ? "relative -top-px" : undefined}>
{avatarUrl && <AvatarImage src={avatarUrl} alt={name} />}
<AvatarFallback>{displayInitials}</AvatarFallback>
</Avatar>