feat(topbar): make PersonChip a link to the person detail page
Consistent with the overflow pill popup which already linked to persons. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,8 +19,9 @@ const initials = $derived(
|
|||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span
|
<a
|
||||||
class="inline-flex shrink-0 items-center gap-1.5 rounded-full border border-line bg-muted px-2 py-0.5"
|
href="/persons/{person.id}"
|
||||||
|
class="inline-flex shrink-0 items-center gap-1.5 rounded-full border border-line bg-muted px-2 py-0.5 hover:border-primary hover:bg-surface focus-visible:ring-2 focus-visible:ring-primary"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="flex h-[25px] w-[25px] shrink-0 items-center justify-center rounded-full text-[13px] font-bold text-white"
|
class="flex h-[25px] w-[25px] shrink-0 items-center justify-center rounded-full text-[13px] font-bold text-white"
|
||||||
@@ -30,4 +31,4 @@ const initials = $derived(
|
|||||||
{initials}
|
{initials}
|
||||||
</span>
|
</span>
|
||||||
<span class="text-[14px] font-semibold text-ink">{displayName}</span>
|
<span class="text-[14px] font-semibold text-ink">{displayName}</span>
|
||||||
</span>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user