Skip to content

Commit 271071a

Browse files
save file
1 parent e4321aa commit 271071a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

utils/misc/nodejs-terminal/html/webcontainer-terminal/webcontainer-terminal.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,13 @@
179179

180180
shadow = host.shadowRoot;
181181

182+
var style1 = $(shadowm,'style');
183+
182184
var style = document.createElement('style');
183185
style.id = 'xterm-css';
184186
style.textContent = link;
185-
shadow.insertBefore(style,shadow.firstChild);
187+
//shadow.insertBefore(style,shadow.firstChild);
188+
style1.after(style);
186189

187190
terminal = $(shadow,'#terminal');
188191

0 commit comments

Comments
 (0)