diff --git a/apps/ui/src/components/metagraphed/yield-panel.tsx b/apps/ui/src/components/metagraphed/yield-panel.tsx index 2e3bb4d24..0b25f5494 100644 --- a/apps/ui/src/components/metagraphed/yield-panel.tsx +++ b/apps/ui/src/components/metagraphed/yield-panel.tsx @@ -129,7 +129,57 @@ export function YieldLoader({ netuid }: { netuid: number }) { {/* Per-UID yield leaderboard (top yielders). */}
-
+ {/* < md: the 7-column table needs an undiscoverable horizontal scroll to + reach its rightmost Yield / vs-median columns — the entire point of + this leaderboard — so narrow viewports get a stacked card per UID + that surfaces yield + vs-median prominently (mirrors the cards/table + split ListShell uses for paginated lists). */} +
+ {ranked.map((n) => ( +
+
+
+ + #{n.uid} + + {n.role === "validator" ? ( + + Validator + + ) : ( + + Miner + + )} +
+
+ + {fmtYield(n.yield)} + + +
+
+
+ {n.hotkey ? ( + + {shortHash(n.hotkey) ?? n.hotkey} + + ) : ( + + )} + + {taoCompact(n.stake_tao)} τ · {taoCompact(n.emission_tao)} τ + +
+
+ ))} +
+