File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
packages/ui-components/Common/AvatarGroup Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 44 @apply flex
55 flex-wrap
66 items-center;
7-
8- & : not (.expandable ) {
9- > span {
10- @apply ml-0;
11- }
12- }
137}
148
159.small {
1610 > span {
17- @apply -ml-2;
11+ @apply -ml-2
12+ first:ml-0;
1813 }
1914}
2015
2116.medium {
2217 > span {
23- @apply -ml-2.5;
18+ @apply -ml-2.5
19+ first:ml-0;
2420 }
2521}
Original file line number Diff line number Diff line change @@ -42,11 +42,7 @@ const AvatarGroup: FC<AvatarGroupProps> = ({
4242 : undefined ;
4343
4444 return (
45- < div
46- className = { classNames ( styles . avatarGroup , styles [ size ] , {
47- [ styles . expandable ] : avatars . length > limit ,
48- } ) }
49- >
45+ < div className = { classNames ( styles . avatarGroup , styles [ size ] ) } >
5046 { renderAvatars . map ( avatar => (
5147 < Tooltip
5248 key = { avatar . nickname }
You can’t perform that action at this time.
0 commit comments