Skip to content

Commit 4103157

Browse files
committed
Merge branch 'jace/sandbox' of https://github.com/oslabs-beta/OverVue into jace/sandbox
2 parents ddf11c7 + 082e056 commit 4103157

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)