Fix node sizing in vue mode (#6289)

Before

![broken-resize](https://github.com/user-attachments/assets/1d3651f7-8589-439c-99d1-fa67c5970945)
After

![vue-resize](https://github.com/user-attachments/assets/ef97ea8f-b601-4a5c-9c6a-34d3f4b776d2)

Also add ~~content~~
[contain](https://developer.mozilla.org/en-US/docs/Web/CSS/contain)
styling for improved render performance.

Future:
- Update size scaling for WidgetLayoutField widgets.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6289-Fix-node-sizing-in-vue-mode-2986d73d365081ac8fa0da35a635b226)
by [Unito](https://www.unito.io)

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
AustinMroz
2025-10-28 12:18:57 -07:00
committed by GitHub
parent b03cf7e11d
commit 6e4471ad62
17 changed files with 15 additions and 291 deletions

View File

@@ -6,7 +6,8 @@
v-else
:class="
cn(
'lg-node-header p-4 rounded-t-2xl w-full bg-node-component-header-surface text-node-component-header',
'lg-node-header p-4 rounded-t-2xl w-full min-w-50',
'bg-node-component-header-surface text-node-component-header',
collapsed && 'rounded-2xl'
)
"