avatar: object-cover

This commit is contained in:
Alex Gleason 2025-06-23 22:49:53 -05:00
parent b9750b3759
commit b7ff219e6e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -24,7 +24,7 @@ const AvatarImage = React.forwardRef<
>(({ className, ...props }, ref) => ( >(({ className, ...props }, ref) => (
<AvatarPrimitive.Image <AvatarPrimitive.Image
ref={ref} ref={ref}
className={cn("aspect-square h-full w-full", className)} className={cn("aspect-square h-full w-full object-cover", className)}
{...props} {...props}
/> />
)) ))