align json properties

pull/7/head
yann300 8 years ago
parent 2230e917b6
commit 7f30c45859
  1. 2
      src/ui/TreeView.js

@ -51,7 +51,7 @@ class TreeView {
}
formatDataInternal (key, data, children, expand) {
var label = yo`<span style=${this.cssLabel}><label style='width: 10px'></label>${this.formatData(key, data)}</span>`
var label = yo`<span style=${this.cssLabel}><label style='position:absolute;margin-top: 2px'></label><span style='margin-left: 10px'>${this.formatData(key, data)}</span></span>`
var renderedChildren = ''
if (children.length) {
renderedChildren = yo`<ul style=${this.cssList}>${children}</ul>`

Loading…
Cancel
Save