Style create call link icon like chat tab buttons

This commit is contained in:
ayumi-signal 2024-08-20 16:13:09 -07:00 committed by GitHub
parent 7431afa206
commit ed47967c7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 11 deletions

View file

@ -34,6 +34,17 @@
}
}
// Calls Tab avatars are 36px
&--call-link {
width: 36px;
height: 36px;
border-radius: 9999px;
}
&--call-link::before {
-webkit-mask-image: url('../images/icons/v3/link/link.svg');
}
&--group::before {
-webkit-mask-image: url('../images/icons/v3/group/group.svg');
}

View file

@ -683,17 +683,7 @@ export function CallsList({
</span>
}
leading={
<Avatar
acceptedMessageRequest
conversationType="callLink"
i18n={i18n}
isMe={false}
title=""
sharedGroupNames={[]}
size={AvatarSize.THIRTY_SIX}
badge={undefined}
className="CallsList__ItemAvatar"
/>
<i className="ComposeStepButton__icon ComposeStepButton__icon--call-link" />
}
onClick={onCreateCallLink}
/>