fix: add box-border to root to prevent border from enlarging node

This commit is contained in:
jaeone94
2026-03-30 17:27:03 +09:00
parent d74cfe165c
commit 7b39902d74

View File

@@ -10,7 +10,7 @@
:data-collapsed="isCollapsed || undefined"
:class="
cn(
'group/node lg-node absolute isolate flex flex-col border border-solid text-sm contain-layout contain-style',
'group/node lg-node absolute isolate box-border flex flex-col border border-solid text-sm contain-layout contain-style',
hasAnyError ? 'border-transparent' : 'border-component-node-border',
rootBorderShapeClass,
outlineClass,