Skip to content
Prev Previous commit
Next Next commit
style: widget and slot label font size and width
  • Loading branch information
DrJKL committed Nov 13, 2025
commit d94ef8f400e04b3944fe300eae34d428c801c5e2
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span
v-if="!dotOnly"
:class="
cn('whitespace-nowrap text-sm font-normal lod-toggle', labelClasses)
cn('whitespace-nowrap text-xs font-normal lod-toggle', labelClasses)
"
>
{{ slotData.localized_name || slotData.name || `Input ${index}` }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Slot Name -->
<span
v-if="!dotOnly"
class="lod-toggle text-sm font-normal whitespace-nowrap text-node-component-slot-text"
class="lod-toggle text-xs font-normal whitespace-nowrap text-node-component-slot-text"
>
{{ slotData.localized_name || slotData.name || `Output ${index}` }}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ defineProps<{
</script>

<template>
<div class="flex h-[30px] min-w-86 items-center justify-between gap-2">
<div class="relative flex h-6 min-w-28 shrink-1 items-center">
<div class="flex h-[30px] min-w-78 items-center justify-between gap-2">
<div
class="relative flex h-full basis-content min-w-20 flex-1 items-center"
>
<p
v-if="widget.name"
class="lod-toggle flex-1 truncate text-sm font-normal text-node-component-slot-text"
class="lod-toggle flex-1 truncate text-xs font-normal text-node-component-slot-text"
>
{{ widget.label || widget.name }}
</p>
<LODFallback />
</div>
<div class="relative min-w-56 grow-1">
<div class="relative min-w-56 basis-full grow">
<div
class="lod-toggle cursor-default"
@pointerdown.stop="noop"
Expand Down