mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add border to the Avatars (#2428)
This commit is contained in:
parent
b21fd49412
commit
bdb1fb2dae
2 changed files with 9 additions and 3 deletions
|
@ -43,12 +43,13 @@ export const actionGoToCollaborator = register({
|
|||
return null;
|
||||
}
|
||||
|
||||
const { background } = getClientColors(clientId);
|
||||
const { background, stroke } = getClientColors(clientId);
|
||||
const shortName = getClientInitials(collaborator.username);
|
||||
|
||||
return (
|
||||
<Avatar
|
||||
color={background}
|
||||
border={stroke}
|
||||
onClick={() => updateData(collaborator.pointer)}
|
||||
>
|
||||
{shortName}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue