Skip to content

Commit

Permalink
Update StyleUtils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yakupafsin committed Nov 8, 2023
1 parent 2f6b481 commit 2f4fe78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/styles/StyleUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,11 +610,7 @@ function getFontFamilyMonospace({fontStyle, fontWeight}: TextStyle): string {
* Returns the font size for the HTML code tag renderer.
*/
function getCodeFontSize(isInsideH1: Boolean) {
if (isInsideH1) {
return 15;
} else {
return 13;
}
return isInsideH1 ? 15 : 13;
}

/**
Expand Down

0 comments on commit 2f4fe78

Please sign in to comment.