Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
Refactor Select component for font selection
Brett Ferrantec90538b1d0b3
diff --git a/frontend/src/components/modals/GroupRectModal.tsx b/frontend/src/components/modals/GroupRectModal.tsxindex 8c877c6..e46507e 100644--- a/frontend/src/components/modals/GroupRectModal.tsx+++ b/frontend/src/components/modals/GroupRectModal.tsx@@ -140,20 +140,12 @@ export function GroupRectModal({ open, onClose, onSubmit, onDelete, initial, tit{/* Font */}<div className="flex flex-col gap-1.5"><Label className="text-xs text-muted-foreground">Font</Label>-- <Select- value={form.font}- onValueChange={(v: string | null) => set('font', v ?? 'inter')}- >- <SelectTrigger- className={`bg-[#21262d] border-[#30363d] text-sm h-8 cursor-pointer ${modalStyles['modal-interactive']} ${modalStyles['modal-radius']}`}- aria-label="Font selector"- >+ <Select value={form.font} onValueChange={(v: string | null) => set('font', v ?? 'inter')}>+ <SelectTrigger className={`bg-[#21262d] border-[#30363d] text-sm h-8 cursor-pointer ${modalStyles['modal-interactive']} ${modalStyles['modal-radius']}`} aria-label="Font selector"><SelectValue>{getFontLabel(form.font)}</SelectValue></SelectTrigger>-<SelectContent className="bg-[#21262d] border-[#30363d]">{FONTS.map((f) => (<SelectItem key={f.value} value={f.value} className="text-sm">