From bbc67fa6fb8f37572c45c913f4287c226691ca89 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 15 May 2023 20:41:31 +0000 Subject: [PATCH] reduce div nesting in instances Signed-off-by: Arthur Lu --- scripts/index.js | 53 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/scripts/index.js b/scripts/index.js index 069d89e..2282f5b 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -198,35 +198,34 @@ async function handleInstanceAdd () { export class Instance { constructor () { let shadowRoot = document.createElement("div"); + shadowRoot.classList.add("w3-row"); shadowRoot.innerHTML = ` -
-
-

-
-
-

-
-
-

-
-
- -

-
-
-

-
-
- -

-
-
- - - - -
+
+

+
+
+

+
+
+

+
+
+ +

+
+
+

+
+
+ +

+
+
+ + + +
`;