Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Components/Reactions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const Reactions: FC<IReactionsProps> = ({
const arrowDownClasses = !isReactable
? "yl-cursor-not-allowed"
: {
"yl-text-red-500 yl-cursor-not-allowed": hasDisliked,
"yl-cursor-pointer hover:yl-text-red-500": !hasDisliked
"yl-text-red-500/70 yl-cursor-not-allowed": hasDisliked,
"yl-cursor-pointer hover:yl-text-red-500/70": !hasDisliked
};

const handleReaction = (reactionType: ReactionType) => {
Expand All @@ -56,7 +56,7 @@ const Reactions: FC<IReactionsProps> = ({
"yl-flex yl-items-center yl-gap-8": !className
})}
>
<div className='yl-my-0 yl-flex yl-items-center yl-justify-center yl-gap-2 yl-text-primary-text-color'>
<div className='yl-my-0 yl-flex yl-items-center yl-justify-center yl-gap-2 yl-text-primary-text-color/20'>
{isLiking ? (
<IconSpinner className='yl-w-5' data-testid='like-spinner' />
) : (
Expand All @@ -76,7 +76,7 @@ const Reactions: FC<IReactionsProps> = ({
<span className='yl-select-none yl-text-primary-text-color'>
{reactionsCount}
</span>
<div className='yl-flex yl-items-center yl-justify-center yl-gap-2 yl-text-primary-text-color'>
<div className='yl-flex yl-items-center yl-justify-center yl-gap-2 yl-text-primary-text-color/20'>
{isDisliking ? (
<Spinner className='yl-w-5' data-testid='dislike-spinner' />
) : (
Expand Down
Loading