Skip to content

Commit 3fae6dd

Browse files
save file
1 parent a30b417 commit 3fae6dd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

utils/editors/js-console/v3.0/js-console-v3.0.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
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');

0 commit comments

Comments
 (0)