mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
💄 Improve position of node options
This commit is contained in:
@@ -99,6 +99,10 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||
classes.push('has-data');
|
||||
}
|
||||
|
||||
if (this.hasIssues) {
|
||||
classes.push('has-issues');
|
||||
}
|
||||
|
||||
return classes;
|
||||
},
|
||||
nodeIssues (): string {
|
||||
@@ -312,7 +316,7 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||
.node-options {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: -35px;
|
||||
top: -25px;
|
||||
left: -10px;
|
||||
width: 120px;
|
||||
height: 45px;
|
||||
@@ -338,6 +342,11 @@ export default mixins(nodeBase, workflowHelpers).extend({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.has-data .node-options,
|
||||
&.has-issues .node-options {
|
||||
top: -35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user