Skip to content

Commit 15fac52

Browse files
save file
1 parent fefa995 commit 15fac52

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

utils/misc/nodejs-terminal/v2.0/nodejs-terminal-v2.0.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,11 @@
344344
var opts = {par:viewport.body};
345345
var snippet_console = await mod.component('snippet-console',attrs,opts);
346346

347-
snippet_console.__host.style.height = '100%';
348-
snippet_console.css.insert_rule('#root {height:100%}');
349-
snippet_console.editor.css.insert_rule(':host {flex:1}');
350-
snippet_console.editor.css.insert_rule('#root {height:100%}');
347+
snippet_console.css.insert_rule([
348+
':host {height:100%;}',
349+
'#root {height:100%}'
350+
]);
351+
snippet_console.editor.css.insert_rule([':host {flex:1}','#root {height:100%}']);
351352

352353
snippet_console.ctx = {xyz:123};
353354

0 commit comments

Comments
 (0)