Better node properties layout in diff table

This commit is contained in:
Nick O'Leary
2017-08-03 23:04:39 +01:00
parent 7368b0cefb
commit 7de1bf9d95
4 changed files with 35 additions and 24 deletions

View File

@@ -82,13 +82,15 @@
that.addItem({});
});
}
console.log(this.element.prop('id'));
if (this.element.css("position") === "absolute") {
["top","left","bottom","right"].forEach(function(s) {
var v = that.element.css(s);
if (s!=="auto" && s!=="") {
if (v!=="auto" && v!=="") {
that.topContainer.css(s,v);
that.uiContainer.css(s,"0");
that.element.css(s,'auto');
console.log(s,v);
}
})
this.element.css("position","static");