File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
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-
134+ .flex
135+ {display : flex;align-items : center}
136+ .item
137+ {border : 1px solid lightgray;padding : 5px 10px ;display : flex;align-items : center;border-radius : 5px ;cursor : pointer;margin-right : 20px }
135138
136139 # save-root
137140 {margin-left : 5px ;display : flex}
163166 # iframe-root input
164167 {margin-left : 10px }
165168 # async-root
166- {border : 1 px solid lightgray; padding : 5 px 10 px ; display : flex; align-items : center; border-radius : 5 px ; cursor : pointer; margin-right : 20 px }
169+ {}
167170 # async-root input
168171 {margin-left : 10px }
169172
@@ -228,14 +231,16 @@ <h4 slot=version>
228231 run
229232 </ button >
230233
231- < div id =run-opts style ='display:none '>
232- < span id =host >
233- host
234+ < div id =run-opts class =flex style ='display:none '>
235+ < div id =host class ='item flex '>
236+ < span >
237+ host
238+ </ span >
234239 < input type =checkbox >
235- </ span >
240+ </ div >
236241 </ div >
237242
238- < div id =async-root >
243+ < div id =async-root class =' item flex ' >
239244 < span >
240245 async
241246 </ span >
@@ -325,7 +330,7 @@ <h4 slot=version>
325330 $ ( root , '#run' ) . onclick = run ;
326331
327332 var r = $ ( '#run-opts' ) ;
328- if ( window . electronAPI ) {
333+ if ( window . electronAPI || localStorage [ 'electron' ] ) {
329334 $ ( '#run-opts' ) . style . display = '' ;
330335 }
331336 ui . host = $ . chkbox ( r , '#host' ) ;
You can’t perform that action at this time.
0 commit comments