Style create call link icon like chat tab buttons
This commit is contained in:
parent
7431afa206
commit
ed47967c7f
2 changed files with 12 additions and 11 deletions
|
@ -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 {
|
&--group::before {
|
||||||
-webkit-mask-image: url('../images/icons/v3/group/group.svg');
|
-webkit-mask-image: url('../images/icons/v3/group/group.svg');
|
||||||
}
|
}
|
||||||
|
|
|
@ -683,17 +683,7 @@ export function CallsList({
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
leading={
|
leading={
|
||||||
<Avatar
|
<i className="ComposeStepButton__icon ComposeStepButton__icon--call-link" />
|
||||||
acceptedMessageRequest
|
|
||||||
conversationType="callLink"
|
|
||||||
i18n={i18n}
|
|
||||||
isMe={false}
|
|
||||||
title=""
|
|
||||||
sharedGroupNames={[]}
|
|
||||||
size={AvatarSize.THIRTY_SIX}
|
|
||||||
badge={undefined}
|
|
||||||
className="CallsList__ItemAvatar"
|
|
||||||
/>
|
|
||||||
}
|
}
|
||||||
onClick={onCreateCallLink}
|
onClick={onCreateCallLink}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue