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
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
}

.avatar {
@apply size-8
flex-shrink-0;
@apply size-8;

.wrapper {
@apply max-xs:block
Expand All @@ -32,14 +31,9 @@

.small {
@apply xs:size-8
xs:-ml-2
ml-0.5
size-10
first:ml-0;
size-10;
}

.medium {
@apply -ml-2.5
size-10
first:ml-0;
@apply size-10;
}
17 changes: 12 additions & 5 deletions apps/site/components/Common/AvatarGroup/index.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
.avatarGroup {
@apply -mb-4
flex
items-center
overflow-x-auto
pb-4;
@apply flex
flex-wrap
items-center;
}

.small {
@apply xs:-space-x-2
space-x-0.5;
}

.medium {
@apply -space-x-2.5;
}
2 changes: 1 addition & 1 deletion apps/site/components/Common/AvatarGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const AvatarGroup: FC<AvatarGroupProps> = ({
);

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