提交 878181f7 编写于 作者: R rebornix

font size and line height should end with px

上级 6db885ca
......@@ -608,7 +608,7 @@ export class ViewModel extends EventEmitter implements IViewModel {
let fontInfo = this.configuration.editor.fontInfo;
let output = `<div style="color: ${defaultForegroundColor}; background-color: ${defaultBackgroundColor};` +
`font-family: ${fontInfo.fontFamily}; font-weight: ${fontInfo.fontWeight}; font-size: ${fontInfo.fontSize}; line-height: ${fontInfo.lineHeight}">`;
`font-family: ${fontInfo.fontFamily}; font-weight: ${fontInfo.fontWeight}; font-size: ${fontInfo.fontSize}px; line-height: ${fontInfo.lineHeight}px">`;
if (ranges.length === 1) {
let range: Range = ranges[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册