Skip to content

Commit

Permalink
fix: pre and lines should inherit fontFamily for correct render if fo…
Browse files Browse the repository at this point in the history
…ntFamily is set for root
  • Loading branch information
petersolopov committed Jun 13, 2020
1 parent b5f079c commit 1de542f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const preStyles = {
pointerEvents: "none",
boxSizing: "border-box",
overflowWrap: "break-word",
fontFamily: "inherit",
};

export const linesStyles = {
Expand All @@ -53,4 +54,5 @@ export const linesStyles = {
pointerEvents: "none",
boxSizing: "border-box",
overflowWrap: "break-word",
fontFamily: "inherit",
};

0 comments on commit 1de542f

Please sign in to comment.