feat: align trigger webhook style with schedule node and fix selection border truncation (#24635)

This commit is contained in:
lyzno1
2025-08-27 17:47:14 +08:00
committed by GitHub
parent e53edb0fc2
commit 73e65fd838
3 changed files with 12 additions and 13 deletions

View File

@ -18,7 +18,11 @@ const Node: FC<NodeProps<ScheduleTriggerNodeType>> = ({
{t(`${i18nPrefix}.nextExecutionTime`)}
</div>
<div className="flex h-[26px] items-center rounded-md bg-workflow-block-parma-bg px-2 text-xs text-text-secondary">
{getNextExecutionTime(data)}
<div className="w-0 grow">
<div className="truncate" title={getNextExecutionTime(data)}>
{getNextExecutionTime(data)}
</div>
</div>
</div>
</div>
)