Skip to content

Commit

Permalink
Merge pull request #1336 from Bynder/fix/pending-users-inline-tooltip
Browse files Browse the repository at this point in the history
🩹 GC-3888 Pending user tooltip should be inline not block
  • Loading branch information
timbryandev committed Dec 20, 2023
2 parents 8009baa + e9c39d7 commit 9c5e4c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Comment/CommentText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ function CommentText({
return (
<span key={subStr} title={name} className={mentionsClass}>
{pending ? (
<TooltipWrapper tooltipText="Invite pending">
<TooltipWrapper
tooltipText="Invite pending"
wrapperClassName="inline-flex"
>
{subStr}
</TooltipWrapper>
) : (
Expand Down
7 changes: 7 additions & 0 deletions lib/Conversation/stories/mockData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ export const mockComments = [
author: mockUser,
createdBy: 2,
},
{
id: "comment-pending-user",
body: "Hey @lyndacarter, @lyndacarter, @lyndacarter, @lyndacarter, @lyndacarter @AlanT, @lyndacarter, @lyndacarter, @lyndacarter, @lyndacarter, @lyndacarter, @AlanT, @AlanT, @AlanT, @lyndacarter, @lyndacarter",
createdAt: "2017-06-08 10:56:41",
author: mockUser,
createdBy: 2,
},
{
id: "comment-id-2",
body: "Comment body and a link to http://google.com and a mention @lyndacarter, another link to @saulgoodman",
Expand Down

0 comments on commit 9c5e4c9

Please sign in to comment.