Skip to content

Commit

Permalink
[PAY-1489] Add more space to reacted to messages (#3615)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyrombo committed Jun 16, 2023
1 parent e16f114 commit 99106b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
align-items: flex-end;
}

.root.hasReaction {
margin-bottom: var(--unit-2);
}

.bubble {
--bubble-color: var(--white);
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ export const ChatMessageListItem = (props: ChatMessageListItemProps) => {
return (
<div
className={cn(styles.root, {
[styles.isAuthor]: isAuthor
[styles.isAuthor]: isAuthor,
[styles.hasReaction]: !hasTail && message.reactions?.length > 0
})}
>
<div
Expand Down

0 comments on commit 99106b3

Please sign in to comment.