Skip to content

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

fix: add default size hint (min 140x50, auto) in custom style editor

Pouzor0a44b69c4e0a
diff --git a/frontend/src/components/modals/CustomStyleModal.tsx b/frontend/src/components/modals/CustomStyleModal.tsx
index 70c8d75..6f6360c 100644
--- a/frontend/src/components/modals/CustomStyleModal.tsx
+++ b/frontend/src/components/modals/CustomStyleModal.tsx
@@ -142,7 +142,8 @@ function NodeEditor({ nodeType, style, onChange, onApplyToExisting }: NodeEditor
</div>
<div className="border-t border-[#30363d] pt-3">
- <div className="text-xs text-[#8b949e] mb-2">Default size (0 = auto)</div>
+ <div className="text-xs text-[#8b949e] mb-1">Default size</div>
+ <div className="text-xs text-[#8b949e]/60 mb-2">0 = auto (min 140 × 50 px, grows with content)</div>
<div className="flex gap-3">
<div className="flex items-center gap-2">
<span className="text-xs text-[#8b949e]">W</span>