Skip to content

Commit

Permalink
chore: fix vertical alignment of avatar stories
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz committed Sep 23, 2022
1 parent 232758e commit 050f4e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/paste-core/components/avatar/src/index.tsx
Expand Up @@ -33,6 +33,7 @@ const AvatarContents: React.FC<AvatarContentProps> = ({name, size = DEFAULT_SIZE
fontWeight="fontWeightBold"
lineHeight={computedTokenNames.lineHeight}
textAlign="center"
verticalAlign="text-top"
textDecoration="none"
title={name}
color="inherit"
Expand Down Expand Up @@ -89,6 +90,7 @@ const Avatar = React.forwardRef<HTMLDivElement, AvatarProps>(
as="div"
element={element}
overflow="hidden"
// textDecoration="none"
textAlign="center"
ref={ref}
size={size}
Expand Down

0 comments on commit 050f4e8

Please sign in to comment.