[backport core/1.36] fix: wrap image preview navigation dots when overflowing node width (#8005)

Backport of #7891 to `core/1.36`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8005-backport-core-1-36-fix-wrap-image-preview-navigation-dots-when-overflowing-node-width-2e76d73d365081febac6f56c4fe38ad3)
by [Unito](https://www.unito.io)

Co-authored-by: Terry Jia <terryjia88@gmail.com>
This commit is contained in:
Comfy Org PR Bot
2026-01-13 14:42:16 +09:00
committed by GitHub
parent 3339fc44f5
commit 1034c3c269

View File

@@ -99,7 +99,10 @@
</span>
</div>
<!-- Multiple Images Navigation -->
<div v-if="hasMultipleImages" class="flex justify-center gap-1 pt-4">
<div
v-if="hasMultipleImages"
class="flex flex-wrap justify-center gap-1 pt-4"
>
<button
v-for="(_, index) in imageUrls"
:key="index"