add instance styling
This commit is contained in:
parent
b5901cb002
commit
ffa468fba2
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