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

Backport of #7925 to `cloud/1.36`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8013-backport-cloud-1-36-fix-remove-negative-margin-from-legacy-widget-canvas-2e76d73d3650818a983bf2ed6095e599)
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:24:02 +09:00
committed by GitHub
parent dc0d85990d
commit c28e60e5a8

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"