reduce div nesting in instances
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
a645102684
commit
d9b56ecc48
@ -198,9 +198,9 @@ async function handleInstanceAdd () {
|
||||
export class Instance {
|
||||
constructor () {
|
||||
let shadowRoot = document.createElement("div");
|
||||
shadowRoot.classList.add("w3-row");
|
||||
|
||||
shadowRoot.innerHTML = `
|
||||
<div class="w3-row">
|
||||
<div class="w3-col l1 m2 s6">
|
||||
<p id="instance-id"></p>
|
||||
</div>
|
||||
@ -227,7 +227,6 @@ export class Instance {
|
||||
<img id="configure-btn" class="clickable">
|
||||
<img id="delete-btn" class="clickable">
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
this.shadowElement = shadowRoot;
|
||||
|
Loading…
Reference in New Issue
Block a user