1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

set Basefont

This commit is contained in:
Rokt33r
2016-01-10 04:32:20 +09:00
parent 5df0755252
commit 714cf43f6a
3 changed files with 7 additions and 4 deletions

View File

@@ -183,7 +183,10 @@ export default class MarkdownPreview extends React.Component {
onMouseMove={e => this.handleMouseMove(e)}
onMouseUp={e => this.handleMouseUp(e)}
dangerouslySetInnerHTML={{__html: ' ' + content}}
style={{fontSize: this.state.fontSize, fontFamily: this.state.fontFamily}}
style={{
fontSize: this.state.fontSize,
fontFamily: this.state.fontFamily.trim() + ', helvetica, arial, sans-serif'
}}
/>
)
}