mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
💄 Improve position of node options
This commit is contained in:
parent
4bbc7edad2
commit
dae2aa3d5d
|
@ -99,6 +99,10 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||||
classes.push('has-data');
|
classes.push('has-data');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.hasIssues) {
|
||||||
|
classes.push('has-issues');
|
||||||
|
}
|
||||||
|
|
||||||
return classes;
|
return classes;
|
||||||
},
|
},
|
||||||
nodeIssues (): string {
|
nodeIssues (): string {
|
||||||
|
@ -312,7 +316,7 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||||
.node-options {
|
.node-options {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -35px;
|
top: -25px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
|
@ -338,6 +342,11 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.has-data .node-options,
|
||||||
|
&.has-issues .node-options {
|
||||||
|
top: -35px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue