[backport core/1.34] Add label to open subgraph button (#7289)

Backport of #7244 to `core/1.34`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7289-backport-core-1-34-Add-label-to-open-subgraph-button-2c46d73d365081fe8dd1e9fcb81c9c8e)
by [Unito](https://www.unito.io)

Co-authored-by: AustinMroz <austin@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2025-12-09 19:22:06 +09:00
committed by GitHub
parent 5139e0564e
commit eab11fbafd

View File

@@ -38,7 +38,6 @@
</IconButton>
</div>
<div v-if="isSubgraphNode" class="icon-[comfy--workflow] size-4" />
<div v-if="isApiNode" class="icon-[lucide--dollar-sign] size-4" />
<!-- Node Title -->
@@ -76,13 +75,16 @@
v-tooltip.top="enterSubgraphTooltipConfig"
type="transparent"
data-testid="subgraph-enter-button"
class="size-5"
class="ml-2 text-node-component-header h-5"
@click.stop="handleEnterSubgraph"
@dblclick.stop
>
<i
class="icon-[lucide--picture-in-picture] size-5 text-node-component-header-icon"
></i>
<div
class="min-w-max rounded-sm bg-node-component-surface px-1 py-0.5 text-xs flex items-center gap-1"
>
{{ $t('g.edit') }}
<i class="icon-[lucide--scaling] size-5"></i>
</div>
</IconButton>
</div>
</div>