Skip to content

Commit fefa995

Browse files
save file
1 parent 0db61c7 commit fefa995

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,10 @@
345345
var snippet_console = await mod.component('snippet-console',attrs,opts);
346346

347347
snippet_console.__host.style.height = '100%';
348-
snippet.console.insert_rule('#root {height:100%}');
349-
//viewport.body.append(obj.__host);
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%}');
351+
350352
snippet_console.ctx = {xyz:123};
351353

352354
}//snippet-console

0 commit comments

Comments
 (0)