Skip to content

Commit

Permalink
fix(AvatarGroup): avatar shrinking in counter tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar committed Nov 5, 2024
1 parent d25deaf commit 0993090
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
white-space: nowrap;
}

.tooltipAvatarItemAvatar {
flex-shrink: 0;
}

.tooltipContainer {
max-height: 300px;
padding-right: var(--spacing-medium);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export const avatarRenderer = (
type={type || avatarProps?.type}
tabIndex={-1}
size={Avatar.sizes.SMALL}
className={avatarGroupCounterTooltipContentStyles.tooltipAvatarItemAvatar}
/>
{!displayAsGrid && (
<div id={labelId} className={avatarGroupCounterTooltipContentStyles.tooltipAvatarItemTitle}>
Expand Down

0 comments on commit 0993090

Please sign in to comment.