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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user