diff --git a/apps/site/components/Common/AvatarGroup/Avatar/index.module.css b/apps/site/components/Common/AvatarGroup/Avatar/index.module.css index 3e7bdb6bb98ef..591354049bda0 100644 --- a/apps/site/components/Common/AvatarGroup/Avatar/index.module.css +++ b/apps/site/components/Common/AvatarGroup/Avatar/index.module.css @@ -21,8 +21,7 @@ } .avatar { - @apply size-8 - flex-shrink-0; + @apply size-8; .wrapper { @apply max-xs:block @@ -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; } diff --git a/apps/site/components/Common/AvatarGroup/index.module.css b/apps/site/components/Common/AvatarGroup/index.module.css index 3e01660bddc07..bc41f7647d5d1 100644 --- a/apps/site/components/Common/AvatarGroup/index.module.css +++ b/apps/site/components/Common/AvatarGroup/index.module.css @@ -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; } diff --git a/apps/site/components/Common/AvatarGroup/index.tsx b/apps/site/components/Common/AvatarGroup/index.tsx index 87f8765f62a65..709c45affe461 100644 --- a/apps/site/components/Common/AvatarGroup/index.tsx +++ b/apps/site/components/Common/AvatarGroup/index.tsx @@ -35,7 +35,7 @@ const AvatarGroup: FC = ({ ); return ( -
+
{renderAvatars.map(({ ...avatar }) => (