[backport core/1.35] fix: expand assets dropdown body to show entire "no results placeholder" (#7717)

Backport of #7586 to `core/1.35`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7717-backport-core-1-35-fix-expand-assets-dropdown-body-to-show-entire-no-results-placehol-2d16d73d365081ec9d87eee40876973a)
by [Unito](https://www.unito.io)

Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
This commit is contained in:
Comfy Org PR Bot
2025-12-23 03:08:18 +09:00
committed by GitHub
parent 9d721c96ec
commit e7afb2b0d7

View File

@@ -69,10 +69,11 @@ const searchQuery = defineModel<string>('searchQuery')
<div class="pointer-events-none absolute inset-x-3 top-0 z-10 h-5" />
<div
v-if="items.length === 0"
class="absolute inset-0 flex items-center justify-center"
class="h-50 col-span-full flex items-center justify-center"
>
<i
:title="$t('g.noItems')"
:aria-label="$t('g.noItems')"
class="icon-[lucide--circle-off] size-30 text-zinc-500/20"
/>
</div>