mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 21:20:12 +00:00
fix 3d-min-resize (#7815)
## Summary Set up a minimum height on the viewer container to prevent layout collapse caused by the absolutely positioned canvas. ## Changes What: Updated handleResize apply a minimum height style to the parent element ## Screenshots before https://github.com/user-attachments/assets/0ddb2681-3083-4dfe-b59f-77724072002d after https://github.com/user-attachments/assets/672570ad-8792-4e09-8050-6dfcb921cd36 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7815-fix-3d-min-resize-2da6d73d3650811ca66fd82ad13258b9) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
ref="container"
|
||||
class="relative h-full w-full"
|
||||
class="relative h-full w-full min-h-[200px]"
|
||||
data-capture-wheel="true"
|
||||
@pointerdown.stop
|
||||
@pointermove.stop
|
||||
|
||||
Reference in New Issue
Block a user