Skip to content

Commit

Permalink
Fix CSS style declaration property name.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertHilb committed Feb 22, 2020
1 parent 25ca3df commit b7f6574
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 b7f6574

Please sign in to comment.