fix: prevent node from expanding beyond resized width on reload
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user