fix avatar inset

This commit is contained in:
hjlarry 2025-09-23 10:46:18 +08:00
parent f0a2eb843c
commit 0ba77f13db

View File

@ -48,7 +48,7 @@ export const CommentIcon: FC<CommentIconProps> = memo(({ comment, onClick }) =>
className={'relative h-10 overflow-hidden rounded-br-full rounded-tl-full rounded-tr-full'} className={'relative h-10 overflow-hidden rounded-br-full rounded-tl-full rounded-tr-full'}
style={{ width: dynamicWidth }} style={{ width: dynamicWidth }}
> >
<div className="absolute inset-1 overflow-hidden rounded-br-full rounded-tl-full rounded-tr-full bg-white"> <div className="absolute inset-[6px] overflow-hidden rounded-br-full rounded-tl-full rounded-tr-full bg-white">
<div className="flex h-full w-full items-center justify-center px-1"> <div className="flex h-full w-full items-center justify-center px-1">
<UserAvatarList <UserAvatarList
users={comment.participants} users={comment.participants}