Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reaction emoji pills and count size update #15643

Merged
merged 12 commits into from
Aug 24, 2023
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ const EmojiPill: FC<EmojiPillProps> = ({
}
}}
>
<EmojiImg emojiUrl={emojiUrl} emojiName={emojiName} />
<EmojiImg
emojiUrl={emojiUrl}
emojiName={emojiName}
emojiImgSize={{
width: 'var(--font-size-medium)',
}}
/>
<span css={messageReactionCount(isActive)}>{emojiCount}</span>
</button>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const messageReactionButtonTooltipTextLink: CSSObject = {
export const messageReactionCount = (isActive?: boolean): CSSObject => {
return {
color: isActive ? 'var(--accent-color)' : 'var(--message-reactions-count)',
fontSize: 'var(--font-size-base)',
fontSize: 'var(--font-size-small)',
letterSpacing: '0.031rem',
};
};
Expand Down
Loading