Update Avatar.tsx (#12110)
parent
c2a57fd72b
commit
aabf3c54ea
|
@ -41,7 +41,7 @@ export function Avatar(props: AvatarProps) {
|
||||||
<AvatarPrimitive.Root
|
<AvatarPrimitive.Root
|
||||||
data-testid={props?.["data-testid"]}
|
data-testid={props?.["data-testid"]}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"bg-emphasis item-center relative inline-flex aspect-square justify-center rounded-full",
|
"bg-emphasis item-center relative inline-flex aspect-square justify-center rounded-full align-top",
|
||||||
indicator ? "overflow-visible" : "overflow-hidden",
|
indicator ? "overflow-visible" : "overflow-hidden",
|
||||||
props.className,
|
props.className,
|
||||||
sizesPropsBySize[size]
|
sizesPropsBySize[size]
|
||||||
|
|
Loading…
Reference in New Issue