1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

add x margin to pybox children

This commit is contained in:
Fabio Pliger
2022-04-18 21:55:03 -05:00
parent 4ba90a9250
commit 57d6ae967b

View File

@@ -58,7 +58,7 @@ export class PyBox extends HTMLElement {
for (let i in this.widths) {
// @ts-ignore
addClasses(mainDiv.childNodes[parseInt(i)], [this.widths[i]]);
addClasses(mainDiv.childNodes[parseInt(i)], [this.widths[i], 'mx-4']);
}
this.appendChild(mainDiv);