Skip to content

Commit 082e056

Browse files
committed
updated
1 parent f89ba76 commit 082e056

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/right-sidebar/CodeSnippet.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,11 @@ z-index: ${this.activeComponentObj.z};
256256
}\n`
257257
}
258258
259+
console.log(htmlArray)
259260
for (const html of htmlArray) {
260261
if (html.class === ' ') styleString = "";
261262
if (html.class) {
262-
styleString += `.${html.class} {\n
263+
styleString += `.${html.class} {\n height: ${html.h} \n width: ${html.w} \n top: ${html.x} \n left: ${html.y} \n z-index: ${html.z}
263264
}\n`
264265
}
265266
}

0 commit comments

Comments
 (0)