mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 09:45:13 +00:00
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>
14 KiB
400x380px
14 KiB
400x380px