Skip to content

Commit

Permalink
fix(Threads): change delete comment action highlight color
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahmcg committed May 29, 2024
1 parent 609fee8 commit bae63d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions client/src/components/Chat/Chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
word-break: break-all;
}

.conductor-chat-del:hover {
color: red !important;
}

#conductor-chat-reply-container {
border-top: 1px solid rgba(34,36,38,.15);
-webkit-box-shadow: 0 -5px 5px -5px rgb(224, 224, 224);
Expand Down
3 changes: 2 additions & 1 deletion client/src/components/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ const Chat: FC<Chatinterface>= ({
/>
{((item.author?.uuid === user.uuid) || isProjectAdmin) && (
<Comment.Actions>
<Comment.Action
<Comment.Action className="conductor-chat-del"

onClick={() => handleOpenDeleteMessage(item.messageID)}
>
Delete
Expand Down

0 comments on commit bae63d5

Please sign in to comment.