File tree Expand file tree Collapse file tree
apps/site/components/Common/AvatarGroup Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121}
2222
2323.avatar {
24- @apply size-8
25- flex-shrink-0;
24+ @apply size-8;
2625
2726 .wrapper {
2827 @apply max-xs:block
3231
3332.small {
3433 @apply xs:size-8
35- xs:-ml-2
36- ml-0.5
37- size-10
38- first:ml-0;
34+ size-10;
3935}
4036
4137.medium {
42- @apply -ml-2.5
43- size-10
44- first:ml-0;
38+ @apply size-10;
4539}
Original file line number Diff line number Diff line change 11.avatarGroup {
2- @apply -mb-4
3- flex
4- items-center
5- overflow-x-auto
6- pb-4;
2+ @apply flex
3+ flex-wrap
4+ items-center;
5+ }
6+
7+ .small {
8+ @apply xs:-space-x-2
9+ space-x-0.5;
10+ }
11+
12+ .medium {
13+ @apply -space-x-2.5;
714}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const AvatarGroup: FC<AvatarGroupProps> = ({
3535 ) ;
3636
3737 return (
38- < div className = { styles . avatarGroup } >
38+ < div className = { classNames ( styles . avatarGroup , styles [ size ] ) } >
3939 { renderAvatars . map ( ( { ...avatar } ) => (
4040 < Fragment key = { avatar . nickname } >
4141 < Tooltip
You can’t perform that action at this time.
0 commit comments