Files
ComfyUI_frontend/browser_tests/tests/imageCompare.spec.ts-snapshots/image-compare-default-50-chromium-linux.png
Kelly Yang 18932a79f4 [backport cloud/1.42] fix: image compare node displays wrong height with mismatched resolution (#10714) (#10721)
Backport of #10714 to cloud/1.42.

## Summary

Revert `object-cover` to `object-contain` so images are never cropped
when the container is short, and add imagecompare to `EXPANDING_TYPES`
so the widget row grows to fill the full node body instead of collapsing
to `min-content`.

## Conflict Resolution

-
`browser_tests/tests/imageCompare.spec.ts-snapshots/image-compare-default-50-chromium-linux.png`:
modify/delete conflict — file was removed in cloud/1.42 but updated in
the PR. Kept PR version.

- Fixes #10714

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10721-backport-cloud-1-42-fix-image-compare-node-displays-wrong-height-with-mismatched-reso-3326d73d36508152acb5d3e714b86d8e)
by [Unito](https://www.unito.io)

Co-authored-by: github-actions <github-actions@github.com>
2026-03-29 15:25:02 -07:00

14 KiB
400x380px