Skip to content

Commit

Permalink
Merge pull request #185 from DavitBakhutashvili/fix/chat
Browse files Browse the repository at this point in the history
Fix/chat
  • Loading branch information
Chkhikvadze authored Sep 29, 2023
2 parents bd32e9c + 6041720 commit 8317131
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ const MessageActions = ({ onReplyClick, onCopyClick }: MessageActionsProps) => {
<StyledWrapper>
{onCopyClick && (
<StyledActionButton onClick={handleCopyClick}>
{copied ? <Check size={20} /> : <Copy size={20} />}
{copied ? <StyledCheckIcon size={20} /> : <StyledCopyIcon size={20} />}
</StyledActionButton>
)}
{onReplyClick && (
<StyledActionButton onClick={onReplyClick}>
<ReplyIcon />
<StyledReplyIcon />
</StyledActionButton>
)}
</StyledWrapper>
Expand All @@ -56,3 +56,20 @@ const StyledActionButton = styled.div`
cursor: pointer;
}
`

const StyledReplyIcon = styled(ReplyIcon)`
path {
fill: ${({ theme }) => theme.body.iconColor};
}
`

const StyledCopyIcon = styled(Copy)`
path {
fill: ${({ theme }) => theme.body.iconColor};
}
`
const StyledCheckIcon = styled(Check)`
path {
fill: ${({ theme }) => theme.body.iconColor};
}
`
2 changes: 0 additions & 2 deletions apps/ui/src/modals/AIChatModal/components/ChatV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,6 @@ const StyledMembersWrapper = styled.div`
top: 20px;
right: 5px;
border-radius: 23px;
// border: ${({ theme }) => theme.body.border};
// background: ${({ theme }) => theme.body.backgroundColorSecondary};
z-index: 12000000;
padding: 10px;
Expand Down

0 comments on commit 8317131

Please sign in to comment.