File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ angular.module('frontend-app')
111111 // Resize on window size change
112112 function onResize ( ) {
113113 var narrow = ( settings . settings . force_narrow || $window . innerWidth < 992 ) ;
114- var min_height = 750 , margin_bottom = 30 ;
114+ var min_height = 500 , margin_bottom = 30 ;
115115 var editor_elem = $window . document . querySelector ( "#editor > .CodeMirror" ) ;
116116 var console_elem = $window . document . querySelector ( "#console > .CodeMirror" ) ;
117117 // Run only when DOM is ready.
@@ -121,10 +121,10 @@ angular.module('frontend-app')
121121 var console_input_height = $window . document . querySelector ( '#console-input' ) . offsetHeight ;
122122 if ( editor_elem )
123123 editor_elem . style . height = sprintf ( "%fpx" ,
124- ( narrow ? target_height * 0.5 : target_height ) - file_control_height ) ;
124+ ( narrow ? target_height * 0.7 : target_height ) - file_control_height ) ;
125125 if ( console_elem )
126126 console_elem . style . height = sprintf ( "%fpx" ,
127- ( narrow ? ( target_height * 0.5 - file_control_height ) : target_height ) - console_input_height ) ;
127+ ( narrow ? ( target_height * 0.3 - file_control_height ) : target_height ) - console_input_height ) ;
128128 if ( self . editor )
129129 self . editor . refresh ( ) ;
130130 if ( self . consoleEditor )
You can’t perform that action at this time.
0 commit comments