@@ -31,48 +31,44 @@ export default function Gossip() {
3131 return (
3232 < >
3333 < PhaseHeader phase = "joining_gossip" />
34- < Flex gapX = "162px" mt = "52px" >
35- < Flex direction = "column" gap = "20px" flexGrow = "1" flexBasis = "1" >
36- < Flex justify = "between" gap = "20px" align = "stretch" >
37- < GossipCard
38- title = "Staked Peers"
39- value = { health . connected_staked_peers }
40- />
41- < GossipCard
42- title = "Unstaked Peers"
43- value = { health . connected_unstaked_peers }
44- />
45- < GossipCard title = "Connected Stake" value = { connectedStake } />
46- </ Flex >
4734
48- < Flex direction = "column" gap = "10px " >
49- < Text className = { styles . barTitle } > Ingress </ Text >
50- < Text className = { styles . barValue } >
51- { ingressThroughput
52- ? ` ${ ingressThroughput . value } ${ ingressThroughput . unit } `
53- : "-- Mbit" }
54- </ Text >
55- < Bars
56- value = { ingress . total_throughput ?? 0 }
57- max = { MAX_THROUGHPUT_BYTES }
58- />
59- </ Flex >
35+ < Flex mt = "52px" direction = "column" gap = "20px" flexGrow = "1" flexBasis = "1 ">
36+ < Flex justify = "between" gap = "20px" align = "stretch" wrap = "wrap" >
37+ < GossipCard
38+ title = "Staked Peers"
39+ value = { health . connected_staked_peers }
40+ />
41+ < GossipCard
42+ title = "Unstaked Peers"
43+ value = { health . connected_unstaked_peers }
44+ />
45+ < GossipCard title = "Connected Stake" value = { connectedStake } />
46+ </ Flex >
6047
61- < Flex direction = "column" gap = "10px" >
62- < Text className = { styles . barTitle } > Egress</ Text >
63- < Text className = { styles . barValue } >
64- { egressThroughput
65- ? `${ egressThroughput . value } ${ egressThroughput . unit } `
66- : "-- Mbit" }
67- </ Text >
68- < Bars
69- value = { egress . total_throughput ?? 0 }
70- max = { MAX_THROUGHPUT_BYTES }
71- />
72- </ Flex >
48+ < Flex direction = "column" gap = "10px" >
49+ < Text className = { styles . barTitle } > Ingress</ Text >
50+ < Text className = { styles . barValue } >
51+ { ingressThroughput
52+ ? `${ ingressThroughput . value } ${ ingressThroughput . unit } ps`
53+ : "-- Mbps" }
54+ </ Text >
55+ < Bars
56+ value = { ingress . total_throughput ?? 0 }
57+ max = { MAX_THROUGHPUT_BYTES }
58+ />
7359 </ Flex >
74- < Flex flexGrow = "1" flexBasis = "1" justify = "center" >
75- < Text > Stake Discovered</ Text >
60+
61+ < Flex direction = "column" gap = "10px" >
62+ < Text className = { styles . barTitle } > Egress</ Text >
63+ < Text className = { styles . barValue } >
64+ { egressThroughput
65+ ? `${ egressThroughput . value } ${ egressThroughput . unit } ps`
66+ : "-- Mbps" }
67+ </ Text >
68+ < Bars
69+ value = { egress . total_throughput ?? 0 }
70+ max = { MAX_THROUGHPUT_BYTES }
71+ />
7672 </ Flex >
7773 </ Flex >
7874 </ >
0 commit comments