Skip to content

Commit 3673597

Browse files
committed
adjust component positioning in NetworkMap and SelectedNodePanel
1 parent ff8a787 commit 3673597

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

data/html/build-info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "version": "3.3.1", "commit": "55a7f81", "builtAt": "2025-11-05T21:00:20Z" }
1+
{ "version": "dev-local", "commit": "ff8a787", "builtAt": "2025-12-31T01:18:25Z" }

data/react-ui/src/components/NetworkMap.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export function NetworkMap() {
434434
<div ref={containerRef} className="w-full flex-1 min-h-0 bg-gray-200 rounded" />
435435

436436
{/* Overlay the selected node panel so it doesn't change layout height */}
437-
<div className="absolute top-20 left-6 z-10 max-w-sm">
437+
<div className="absolute top-20 right-6 z-10 max-w-sm">
438438
<SelectedNodePanel
439439
node={selectedNode}
440440
route={selectedRoute}

data/react-ui/src/components/SelectedNodePanel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export function SelectedNodePanel({ node, subnet, route }) {
22
if (!node && !subnet && !route) return null;
33

44
return (
5-
<div className="absolute top-4 right-4 bg-white border shadow rounded p-4 text-sm z-10 w-72">
5+
<div className="top-4 right-4 bg-white border shadow rounded p-4 text-sm z-10 w-72">
66
<h3 className="font-semibold mb-2">Subnet Info</h3>
77

88
{/* Subnet node */}

0 commit comments

Comments
 (0)