add instance styling
This commit is contained in:
parent
5c0176dc98
commit
8ef1cc3344
5
css/instance.css
Normal file
5
css/instance.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
article {
|
||||||
|
border-top: solid white 1px;
|
||||||
|
border-bottom: solid white 1px;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
@ -12,6 +12,12 @@ class Instance extends HTMLElement {
|
|||||||
styleLink.type = "text/css";
|
styleLink.type = "text/css";
|
||||||
shadowRoot.append(styleLink);
|
shadowRoot.append(styleLink);
|
||||||
|
|
||||||
|
let instanceLink = document.createElement("link");
|
||||||
|
instanceLink.rel = "stylesheet";
|
||||||
|
instanceLink.href = "css/instance.css";
|
||||||
|
instanceLink.type = "text/css";
|
||||||
|
shadowRoot.append(instanceLink);
|
||||||
|
|
||||||
this.shadowElement = shadowRoot;
|
this.shadowElement = shadowRoot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user