mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
Fix: Changed height of form
This commit is contained in:
@@ -32,7 +32,7 @@ class UiTab extends React.Component {
|
|||||||
CodeMirror.autoLoadMode(this.customCSSCM.getCodeMirror(), 'css')
|
CodeMirror.autoLoadMode(this.customCSSCM.getCodeMirror(), 'css')
|
||||||
CodeMirror.autoLoadMode(this.customMarkdownLintConfigCM.getCodeMirror(), 'javascript')
|
CodeMirror.autoLoadMode(this.customMarkdownLintConfigCM.getCodeMirror(), 'javascript')
|
||||||
this.customCSSCM.getCodeMirror().setSize('400px', '400px')
|
this.customCSSCM.getCodeMirror().setSize('400px', '400px')
|
||||||
this.customMarkdownLintConfigCM.getCodeMirror().setSize('400px', '400px')
|
this.customMarkdownLintConfigCM.getCodeMirror().setSize('400px', '200px')
|
||||||
this.handleSettingDone = () => {
|
this.handleSettingDone = () => {
|
||||||
this.setState({UiAlert: {
|
this.setState({UiAlert: {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
@@ -648,7 +648,7 @@ class UiTab extends React.Component {
|
|||||||
<div style={{fontFamily}}>
|
<div style={{fontFamily}}>
|
||||||
<ReactCodeMirror
|
<ReactCodeMirror
|
||||||
width='400px'
|
width='400px'
|
||||||
height='400px'
|
height='200px'
|
||||||
onChange={e => this.handleUIChange(e)}
|
onChange={e => this.handleUIChange(e)}
|
||||||
ref={e => (this.customMarkdownLintConfigCM = e)}
|
ref={e => (this.customMarkdownLintConfigCM = e)}
|
||||||
value={config.editor.customMarkdownLintConfig}
|
value={config.editor.customMarkdownLintConfig}
|
||||||
|
|||||||
Reference in New Issue
Block a user