diff --git a/app/components/Collaborators.js b/app/components/Collaborators.js index b5374087..fa975b12 100644 --- a/app/components/Collaborators.js +++ b/app/components/Collaborators.js @@ -60,56 +60,60 @@ class Collaborators extends React.Component { {overflow > 0 && +{overflow}} {mostRecentViewers.map(({ lastViewedAt, user }) => ( - - {user.name} -
- viewed {distanceInWordsToNow(new Date(lastViewedAt))} ago - - } - placement="bottom" - > - - this.handleOpenProfile(user.id)} - /> - - -
+ + + {user.name} +
+ viewed {distanceInWordsToNow(new Date(lastViewedAt))} ago + + } + placement="bottom" + > + + this.handleOpenProfile(user.id)} + /> + +
+ +
))} {collaborators.map(user => ( - - {user.name} -
- {createdAt === updatedAt ? 'published' : 'updated'}{' '} - {updatedBy.id === user.id && - `${distanceInWordsToNow(new Date(updatedAt))} ago`} - - } - placement="bottom" - > - - this.handleOpenProfile(user.id)} - /> - - -
+ + + {user.name} +
+ {createdAt === updatedAt ? 'published' : 'updated'}{' '} + {updatedBy.id === user.id && + `${distanceInWordsToNow(new Date(updatedAt))} ago`} + + } + placement="bottom" + > + + this.handleOpenProfile(user.id)} + /> + +
+ +
))}
);