mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 18:30:39 +09:00
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:
parent
39f8d38528
commit
aa329f4b8a
2 changed files with 19 additions and 17 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue