Update metrics-dialog.tsx

This commit is contained in:
MacRimi
2025-10-23 12:55:31 +02:00
parent 30b236548a
commit 44ca1d507d

View File

@@ -261,7 +261,7 @@ export function MetricsView({ vmid, vmName, vmType, onBack }: MetricsViewProps)
borderRadius: "6px", borderRadius: "6px",
}} }}
/> />
<Legend content={renderDiskLegend} /> <Legend content={renderDiskLegend} verticalAlign="top" />
<Area <Area
type="monotone" type="monotone"
dataKey="diskread" dataKey="diskread"
@@ -317,7 +317,7 @@ export function MetricsView({ vmid, vmName, vmType, onBack }: MetricsViewProps)
borderRadius: "6px", borderRadius: "6px",
}} }}
/> />
<Legend content={renderNetworkLegend} /> <Legend content={renderNetworkLegend} verticalAlign="top" />
<Area <Area
type="monotone" type="monotone"
dataKey="netin" dataKey="netin"