Skip to content

Commit 255e0f8

Browse files
committed
style(properties-dialog): separator between input and output port labels (#289)
1 parent 1c806fd commit 255e0f8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/lib/components/dialogs/BlockPropertiesDialog.svelte

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,9 @@
420420
/>
421421
</div>
422422
{/each}
423+
{#if node.inputs.length > 0 && node.outputs.length > 0}
424+
<div class="port-divider"></div>
425+
{/if}
423426
{#each node.outputs as port, i (port.id)}
424427
<div class="param-item">
425428
<label for="port-out-{i}">out {i}</label>
@@ -520,6 +523,12 @@
520523
min-width: 0;
521524
}
522525
526+
.port-divider {
527+
height: 1px;
528+
background: var(--border);
529+
margin: 4px 0;
530+
}
531+
523532
/* Pin button */
524533
.pin-btn {
525534
flex-shrink: 0;

0 commit comments

Comments
 (0)