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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user