mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Better node properties layout in diff table
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user