Skip to content

Commit

Permalink
fix: reply exit icon placement
Browse files Browse the repository at this point in the history
  • Loading branch information
MuckT committed Mar 20, 2024
1 parent 4a1bc8a commit c768b19
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/pages/inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,13 @@ const Inbox: React.FC<{ children?: React.ReactNode }> = () => {
<div className="h-full w-full flex flex-col justify-between">
{activeMessage && selectedConversation ? (
<div className="h-full overflow-auto">
<XIcon
data-testid="replies-close-icon"
width={24}
onClick={() => setActiveMessage()}
className="absolute top-2 right-2 cursor-pointer"
/>
<div className="flex justify-end p-4">
<XIcon
data-testid="replies-close-icon"
width={24}
onClick={() => setActiveMessage()}
/>
</div>
<ReplyThread conversation={selectedConversation} />
</div>
) : (
Expand Down

0 comments on commit c768b19

Please sign in to comment.