🐛 Make avatars rounded

This commit is contained in:
Luke Vella 2025-04-01 15:59:31 +01:00
parent 91cb7eb9ed
commit 2329b8516b
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -12,7 +12,10 @@ const Avatar = React.forwardRef<
>(({ className, size = 48, ...props }, ref) => (
<AvatarPrimitive.Root
ref={ref}
className={cn("relative flex shrink-0 overflow-hidden", className)}
className={cn(
"relative flex shrink-0 overflow-hidden rounded-full",
className,
)}
style={{ width: size, height: size }}
{...props}
/>