Skip to content

Commit

Permalink
Merge pull request #7910 from AlbertHilb/FontSizeIssue
Browse files Browse the repository at this point in the history
CodeMirror font size setting issue (#7909)
  • Loading branch information
telamonian committed Feb 24, 2020
2 parents be8e100 + b7f6574 commit ec932f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/codemirror/src/editor.ts
Expand Up @@ -1479,7 +1479,7 @@ namespace Private {
el.style.fontFamily = value;
break;
case 'fontSize':
el.style.setProperty('fontSize', value ? value + 'px' : null);
el.style.setProperty('font-size', value ? value + 'px' : null);
break;
case 'lineHeight':
el.style.lineHeight = value ? value.toString() : null;
Expand Down

0 comments on commit ec932f8

Please sign in to comment.