Skip to content

Commit fe1b61d

Browse files
committed
Format slots LR
1 parent 306ae55 commit fe1b61d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/graph/vueNodes/NodeSlots.vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
<div v-if="renderError" class="node-error p-2 text-red-500 text-sm">
33
⚠️ Node Slots Error
44
</div>
5-
<div v-else class="lg-node-slots">
6-
<!-- For now, render slots info as text to see what's there -->
7-
<div v-if="nodeInfo?.inputs?.length" class="mb-2">
8-
<div class="text-xs text-gray-400 mb-1">Inputs:</div>
5+
<div v-else class="lg-node-slots flex justify-between">
6+
<div v-if="nodeInfo?.inputs?.length" class="flex flex-col">
97
<div
108
v-for="(input, index) in nodeInfo.inputs"
119
:key="`input-${index}`"
@@ -15,12 +13,11 @@
1513
</div>
1614
</div>
1715

18-
<div v-if="nodeInfo?.outputs?.length">
19-
<div class="text-xs text-gray-400 mb-1">Outputs:</div>
16+
<div v-if="nodeInfo?.outputs?.length" class="flex flex-col ml-auto">
2017
<div
2118
v-for="(output, index) in nodeInfo.outputs"
2219
:key="`output-${index}`"
23-
class="text-xs text-gray-300"
20+
class="text-xs text-gray-300 text-right"
2421
>
2522
{{ getOutputName(output, index) }}
2623
</div>

0 commit comments

Comments
 (0)