Update image uploader styling with object-contain and border (#173)

* Update image uploader styling with object-contain and border
* Fix avatar aspect ratio
This commit is contained in:
Giancarlo Buomprisco
2025-02-20 07:35:16 +07:00
committed by GitHub
parent 031e0810a6
commit c193f9fcb9
3 changed files with 8 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ const AvatarImage: React.FC<
React.ComponentPropsWithRef<typeof AvatarPrimitive.Image>
> = ({ className, ...props }) => (
<AvatarPrimitive.Image
className={cn('aspect-square h-full w-full', className)}
className={cn('aspect-square h-full w-full object-cover', className)}
{...props}
/>
);