From 06dc67e9d03d8054adb97062cd6e90f6f0f231a3 Mon Sep 17 00:00:00 2001 From: Riz Ashraf Date: Sat, 12 Sep 2026 09:45:15 +0100 Subject: [PATCH] fix(dashboard): fix network graph collapse by setting explicit min-height and add error visibility --- server/src/dashboard.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/dashboard.html b/server/src/dashboard.html index 08e443e..243f816 100644 --- a/server/src/dashboard.html +++ b/server/src/dashboard.html @@ -15,7 +15,7 @@ /* Graph Panel */ .graph-panel { flex: 2; } - #network-container { flex: 1; border: 1px solid #bdc3c7; border-radius: 4px; background: #fafafa; } + #network-container { flex: 1; min-height: 400px; position: relative; border: 1px solid #bdc3c7; border-radius: 4px; background: #fafafa; } /* Right Column */ .right-column { flex: 1; display: flex; flex-direction: column; gap: 20px; } @@ -119,7 +119,7 @@ network = new vis.Network(container, graphData, options); } } catch (err) { - console.error("Failed to load graph", err); + console.error("Failed to load graph", err); document.getElementById("network-container").innerHTML = "
Error loading graph: " + err.message + "
"; } } @@ -204,3 +204,4 @@ +