mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +00:00
Remove ghost div on controless number widgets
This commit is contained in:
@@ -110,7 +110,10 @@ const buttonTooltip = computed(() => {
|
||||
<span class="pi pi-minus text-sm" />
|
||||
</template>
|
||||
</InputNumber>
|
||||
<div class="absolute top-5 right-8 h-4 w-7 -translate-y-4/5 flex">
|
||||
<div
|
||||
v-if="$slots.default"
|
||||
class="absolute top-5 right-8 h-4 w-7 -translate-y-4/5 flex"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</WidgetLayoutField>
|
||||
|
||||
Reference in New Issue
Block a user