mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 22:39:39 +00:00
fix(canvas): make graph canvas block-level to eliminate baseline gap
- Change <canvas id=graph-canvas> to display:block via Tailwind class - Removes 1–5 px baseline offset between canvas and container - Aligns canvas and TransformPane origins; fixes link/slot endpoint drift No behavioral changes beyond layout origin alignment; no dependent CSS relies on inline/baseline.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
id="graph-canvas"
|
||||
ref="canvasRef"
|
||||
tabindex="1"
|
||||
class="w-full h-full touch-none"
|
||||
class="block w-full h-full touch-none"
|
||||
/>
|
||||
|
||||
<!-- TransformPane for Vue node rendering -->
|
||||
|
||||
Reference in New Issue
Block a user