chore(editor): Increase trigger dropdown width (#18121)

This commit is contained in:
Suguru Inoue
2025-08-08 13:21:12 +02:00
committed by GitHub
parent 7e4c5af383
commit bb3aa18e75
3 changed files with 23 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ const actions = computed(() =>
return aY === bY ? aX - bX : aY - bY;
})
.map<ActionDropdownItem>((node) => ({
label: truncateBeforeLast(node.name, 25),
label: truncateBeforeLast(node.name, 50),
disabled: !!node.disabled || props.executing,
id: node.name,
checked: props.selectedTriggerNodeName === node.name,
@@ -112,6 +112,7 @@ function getNodeTypeByName(name: string): INodeTypeDescription | null {
:items="actions"
:disabled="disabled"
placement="top"
:extra-popper-class="$style.menuPopper"
@select="emit('selectTriggerNode', $event)"
>
<template #activator>
@@ -174,6 +175,11 @@ function getNodeTypeByName(name: string): INodeTypeDescription | null {
height: 100%;
}
.menuPopper {
// Width upper bound is enforced by char count instead
max-width: none !important;
}
.menuItem {
display: flex;
align-items: center;