File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
browser/main/modals/PreferencesModal Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class UiTab extends React.Component {
29
29
componentDidMount ( ) {
30
30
CodeMirror . autoLoadMode ( this . codeMirrorInstance . getCodeMirror ( ) , 'javascript' )
31
31
CodeMirror . autoLoadMode ( this . customCSSCM . getCodeMirror ( ) , 'css' )
32
- this . customCSSCM . getCodeMirror ( ) . setSize ( null , '300px ' )
32
+ this . customCSSCM . getCodeMirror ( ) . setSize ( null , '250px ' )
33
33
this . handleSettingDone = ( ) => {
34
34
this . setState ( { UiAlert : {
35
35
type : 'success' ,
@@ -589,7 +589,9 @@ class UiTab extends React.Component {
589
589
{ i18n . __ ( 'Custom CSS' ) }
590
590
</ div >
591
591
< div styleName = 'group-section-control' >
592
- < ReactCodeMirror onChange = { e => this . handleUIChange ( e ) } ref = { e => ( this . customCSSCM = e ) } value = { config . preview . customCSS } options = { { lineNumbers : true , mode : 'css' , theme : codemirrorTheme } } />
592
+ < div styleName = 'code-mirror' >
593
+ < ReactCodeMirror onChange = { e => this . handleUIChange ( e ) } ref = { e => ( this . customCSSCM = e ) } value = { config . preview . customCSS } options = { { lineNumbers : true , mode : 'css' , theme : codemirrorTheme } } />
594
+ </ div >
593
595
</ div >
594
596
</ div >
595
597
You can’t perform that action at this time.
0 commit comments