corrected avatars inside users block (#6667)

* corrected avatars inside users block

* ensured the team avatar didnt shrink too

* Update packages/ui/components/avatar/Avatar.tsx

Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
Ben Hybert 2023-01-24 16:10:43 +00:00 committed by GitHub
parent 0b93647209
commit 0c88cf75e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,9 @@ export function Avatar(props: AvatarProps) {
let avatar = ( let avatar = (
<AvatarPrimitive.Root <AvatarPrimitive.Root
className={classNames( className={classNames(
sizesPropsBySize[size],
"dark:bg-darkgray-300 item-center relative inline-flex aspect-square justify-center overflow-hidden rounded-full", "dark:bg-darkgray-300 item-center relative inline-flex aspect-square justify-center overflow-hidden rounded-full",
props.className props.className,
sizesPropsBySize[size]
)}> )}>
<> <>
<AvatarPrimitive.Image <AvatarPrimitive.Image