[backport core/1.36] fix: remove negative margin from legacy widget canvas (#8012)

Backport of #7925 to `core/1.36`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8012-backport-core-1-36-fix-remove-negative-margin-from-legacy-widget-canvas-2e76d73d365081ba9bc2d710eb58c8fc)
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:23:43 +09:00
committed by GitHub
parent d3e2564036
commit 61c6fe289e

View File

@@ -104,7 +104,7 @@ function handleMove(e: PointerEvent) {
>
<canvas
ref="canvasEl"
class="absolute mt-[-13px] w-full cursor-crosshair"
class="absolute w-full cursor-crosshair"
@pointerdown="handleDown"
@pointerup="handleUp"
@pointermove="handleMove"