Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions packages/ui-components/Common/AvatarGroup/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
@apply flex
flex-wrap
items-center;

&:not(.expandable) {
> span {
@apply ml-0;
}
}
}

.small {
> span {
@apply -ml-2;
@apply -ml-2
first:ml-0;
}
}

.medium {
> span {
@apply -ml-2.5;
@apply -ml-2.5
first:ml-0;
}
}
6 changes: 1 addition & 5 deletions packages/ui-components/Common/AvatarGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ const AvatarGroup: FC<AvatarGroupProps> = ({
: undefined;

return (
<div
className={classNames(styles.avatarGroup, styles[size], {
[styles.expandable]: avatars.length > limit,
})}
>
<div className={classNames(styles.avatarGroup, styles[size])}>
{renderAvatars.map(avatar => (
<Tooltip
key={avatar.nickname}
Expand Down
Loading