File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
utils/editors/js-console/v3.0 Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 131131 {border : 1px solid gray;border-radius : 3px ;box-sizing : border-box;width : 30px ;height : 30px ;cursor : pointer}
132132 .spc
133133 {flex : 1 }
134+ .flex
135+ {display : flex;align-items : center}
134136
135137
136138 # save-root
@@ -228,11 +230,13 @@ <h4 slot=version>
228230 run
229231 </ button >
230232
231- < div id =run-opts style ='display:none '>
232- < span id =host >
233- host
233+ < div id =run-opts class =flex style ='display:none '>
234+ < div id =host class =flex >
235+ < span >
236+ host
237+ </ span >
234238 < input type =checkbox >
235- </ span >
239+ </ div >
236240 </ div >
237241
238242 < div id =async-root >
@@ -325,7 +329,7 @@ <h4 slot=version>
325329 $ ( root , '#run' ) . onclick = run ;
326330
327331 var r = $ ( '#run-opts' ) ;
328- if ( window . electronAPI ) {
332+ if ( window . electronAPI || localStorage [ 'electron' ] ) {
329333 $ ( '#run-opts' ) . style . display = '' ;
330334 }
331335 ui . host = $ . chkbox ( r , '#host' ) ;
You can’t perform that action at this time.
0 commit comments