Skip to content

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

fix(node-modal): cap height at 90vh with scroll

Pouzorff02f3b5db2c
diff --git a/frontend/src/components/modals/NodeModal.tsx b/frontend/src/components/modals/NodeModal.tsx
index 487c951..714d67b 100644
--- a/frontend/src/components/modals/NodeModal.tsx
+++ b/frontend/src/components/modals/NodeModal.tsx
@@ -95,7 +95,7 @@ export function NodeModal({ open, onClose, onSubmit, initial, title = 'Add Node'
return (
<Dialog open={open} onOpenChange={(o) => !o && onClose()}>
- <DialogContent className="bg-[#161b22] border-[#30363d] text-foreground max-w-md">
+ <DialogContent className="bg-[#161b22] border-[#30363d] text-foreground max-w-md max-h-[90vh] overflow-y-auto">
<DialogHeader>
<DialogTitle className="text-sm font-semibold">{title}</DialogTitle>
</DialogHeader>