fix node and instance element stylesheet reference

This commit is contained in:
Arthur Lu 2022-12-12 21:43:19 -08:00
parent ccf7efb9b9
commit 63943782c6

View File

@ -8,7 +8,7 @@ class Node extends HTMLElement {
let styleLink = document.createElement("link");
styleLink.rel = "stylesheet";
styleLink.href = "style.css";
styleLink.href = "css/style.css";
styleLink.type = "text/css";
shadowRoot.append(styleLink);
@ -63,7 +63,7 @@ class Instance extends HTMLElement {
let styleLink = document.createElement("link");
styleLink.rel = "stylesheet";
styleLink.href = "style.css";
styleLink.href = "css/style.css";
styleLink.type = "text/css";
shadowRoot.append(styleLink);