admin/monitoring: steadier layout
Massimo Melina committed
May 3, 2024 at 11:46 UTC
c8d7ae4ab99c13146cf1951413cff3d13f711cd7
1 file changed
+2
-2
admin/src/MonitorPage.ts
+2
-2
@@ -43,8 +43,8 @@ function MoreInfo() {
43
(allInfo || sm) && pair('connections', { title: () => `${status.ips} IP(s)` }),
44
pair('sent', { render: formatBytes, minWidth: '4em' }),
45
(allInfo || sm) && pair('got', { render: formatBytes, minWidth: '4em' }),
46
- pair('outSpeed', { label: "Output speed", render: formatSpeedK }),
47
- (allInfo || md) && pair('inSpeed', { label: "Input speed", render: formatSpeedK }),
46
+ pair('outSpeed', { label: "Output speed", render: formatSpeedK, minWidth: '5em' }),
47
+ (allInfo || md) && pair('inSpeed', { label: "Input speed", render: formatSpeedK, minWidth: '5em' }),
48
!xl && h(IconBtn, { size: 'small', icon: allInfo ? ChevronLeft : ChevronRight, title: "Show more", onClick: () => setAllInfo(x => !x) }),
49
)
50