Skip to content

Commit

Permalink
fix(Avatar): fixes flex-grow in case of withTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-kumawat committed Sep 21, 2020
1 parent e3e103a commit c400886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/atoms/avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const Avatar = (props: AvatarProps) => {
const renderTooltip = () => {
if (withTooltip && initials) {
return (
<Tooltip tooltip={tooltip} position={tooltipPosition}>
<Tooltip tooltip={tooltip} position={tooltipPosition} triggerClass={'flex-grow-0'}>
{renderAvatar()}
</Tooltip>
);
Expand Down

0 comments on commit c400886

Please sign in to comment.