fix: prevent node from expanding beyond resized width on reload

This commit is contained in:
Pouzor
2026-04-19 22:58:10 +02:00
parent b5eb8d1b74
commit fbfacec6dc
@@ -43,7 +43,7 @@ export function BaseNode({ id, data, selected, icon: typeIcon, width, height }:
return ( return (
<div <div
className="relative flex flex-col rounded-lg border transition-all duration-200" className="relative flex flex-col rounded-lg border transition-all duration-200 overflow-hidden"
style={{ style={{
background: colors.background, background: colors.background,
borderColor: colors.border, borderColor: colors.border,