mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-14 15:07:29 +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) => (
|
>(({ className, size = 48, ...props }, ref) => (
|
||||||
<AvatarPrimitive.Root
|
<AvatarPrimitive.Root
|
||||||
ref={ref}
|
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 }}
|
style={{ width: size, height: size }}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue