@@ -21,11 +21,18 @@ function ParticipantAvatar({
2121 < div
2222 className = { index > 0 ? "-ml-2" : "" }
2323 data-testid = "message-thread-summary-participant"
24- style = { { zIndex : 10 - index } }
24+ style = { {
25+ zIndex : 10 - index ,
26+ ...( index > 0 && {
27+ mask : "radial-gradient(circle 16px at -4px 50%, transparent 99%, #fff 100%)" ,
28+ WebkitMask :
29+ "radial-gradient(circle 16px at -4px 50%, transparent 99%, #fff 100%)" ,
30+ } ) ,
31+ } }
2532 >
2633 < UserAvatar
2734 avatarUrl = { participant . avatarUrl }
28- className = "h-7 w-7 text-[10px] ring-2 ring-background "
35+ className = "h-7 w-7 text-[10px]"
2936 displayName = { participant . author }
3037 size = "sm"
3138 />
@@ -88,14 +95,14 @@ export function MessageThreadSummaryRow({
8895
8996 < button
9097 aria-label = { summaryAriaLabel }
91- className = "group relative isolate inline-flex h-8 w-fit max-w-full cursor-pointer items-center gap-1.5 rounded-[12px] text-left text-xs font-medium text-muted-foreground transition-[color,opacity] before:pointer-events-none before:absolute before:-bottom-0.5 before:-left-0.5 before:-right-2 before:-top-0.5 before:-z-10 before:rounded-[12px] before:content-[''] before:transition-[background-color,box-shadow] hover:text-foreground hover:opacity-90 hover:before:bg-background/95 hover:before:ring-1 hover:before:ring-border/70 focus-visible:outline-hidden focus-visible:before:bg-background/95 focus-visible:before:ring-1 focus-visible:before:ring-ring"
98+ className = "group relative isolate inline-flex h-8 w-fit max-w-full cursor-pointer items-center gap-1.5 rounded-full text-left text-xs font-medium text-muted-foreground transition-[color,opacity] before:pointer-events-none before:absolute before:-bottom-0.5 before:-left-0.5 before:-right-2 before:-top-0.5 before:-z-10 before:rounded-full before:content-[''] before:transition-[background-color,box-shadow] hover:text-foreground hover:opacity-90 hover:before:bg-background/95 hover:before:ring-1 hover:before:ring-border/70 focus-visible:outline-hidden focus-visible:before:bg-background/95 focus-visible:before:ring-1 focus-visible:before:ring-ring"
9299 data-thread-head-id = { message . id }
93100 data-testid = "message-thread-summary"
94101 onClick = { ( ) => onOpenThread ( message ) }
95102 style = { { marginLeft : `${ marginLeftPx } px` } }
96103 type = "button"
97104 >
98- < div className = "flex shrink-0 items-center" >
105+ < div className = "ml-0.5 flex shrink-0 items-center" >
99106 { summary . participants . map ( ( participant , index ) => (
100107 < ParticipantAvatar
101108 index = { index }
0 commit comments