Skip to content

Commit

Permalink
fix: 🐛 use em to make emoji size right
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul-Mirone committed Jul 22, 2022
1 parent 1c8b5bb commit 2df2049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-emoji/src/node.ts
Expand Up @@ -20,8 +20,8 @@ export const emojiNode = createNode<string, EmojiOptions>((utils, options) => {
utils.getStyle(
({ css }) => css`
.emoji {
height: 14px;
width: 14px;
height: 1em;
width: 1em;
margin: 0 1px 0 1.5px;
vertical-align: -1.5px;
}
Expand Down

1 comment on commit 2df2049

@vercel
Copy link

@vercel vercel bot commented on 2df2049 Jul 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.