Skip to content

Commit

Permalink
fix: remove unnecessary lineHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Jun 20, 2024
1 parent df321be commit cb690d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/parserUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function addStyling(targetElement: HTMLElement, type: MarkdownType, markdownStyl
node.style.textDecoration = 'line-through';
break;
case 'emoji':
Object.assign(node.style, {...markdownStyle.emoji, verticalAlign: 'middle', lineHeight: 'normal'});
Object.assign(node.style, {...markdownStyle.emoji, verticalAlign: 'middle'});
break;
case 'mention-here':
Object.assign(node.style, markdownStyle.mentionHere);
Expand Down

0 comments on commit cb690d6

Please sign in to comment.