Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix: prevent node from expanding beyond resized width on reload

Pouzorfbfacec6dc3c
diff --git a/frontend/src/components/canvas/nodes/BaseNode.tsx b/frontend/src/components/canvas/nodes/BaseNode.tsx
index 4dae035..3c0f22c 100644
--- a/frontend/src/components/canvas/nodes/BaseNode.tsx
+++ b/frontend/src/components/canvas/nodes/BaseNode.tsx
@@ -43,7 +43,7 @@ export function BaseNode({ id, data, selected, icon: typeIcon, width, height }:
return (
<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={{
background: colors.background,
borderColor: colors.border,