mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 09:46:39 +02:00
🐛 Make avatars rounded
This commit is contained in:
parent
91cb7eb9ed
commit
2329b8516b
1 changed files with 4 additions and 1 deletions
|
@ -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}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue