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:
committed by
GitHub
parent
031e0810a6
commit
c193f9fcb9
@@ -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}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user