From d73f2e856ec461b8fca33200163d5e834a7b446d Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sun, 10 Sep 2017 23:14:32 -0700 Subject: [PATCH] Fixed collaborator avatars --- frontend/components/Collaborators/Collaborators.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/components/Collaborators/Collaborators.js b/frontend/components/Collaborators/Collaborators.js index ae62fd1b4..8bb7c7882 100644 --- a/frontend/components/Collaborators/Collaborators.js +++ b/frontend/components/Collaborators/Collaborators.js @@ -25,15 +25,20 @@ const Collaborators = function({ document }: { document: Document }) { return ( - + {collaborators.map(user => ( ))} - + ); }; +const StyledTooltip = styled(Tooltip)` + display: flex; + flex-direction: row-reverse; +`; + const Avatars = styled(Flex)` flex-direction: row-reverse; height: 26px; @@ -45,7 +50,7 @@ const Avatar = styled.img` flex-shrink: 0; border-radius: 50%; border: 2px solid ${color.white}; - margin-right: -13px; + margin-right: -10px; &:first-child { margin-right: 0;