diff --git a/apps/explorer/src/components/HomeMetrics/MetricGroup.tsx b/apps/explorer/src/components/HomeMetrics/MetricGroup.tsx index e7aa04d09f9..8479b903b51 100644 --- a/apps/explorer/src/components/HomeMetrics/MetricGroup.tsx +++ b/apps/explorer/src/components/HomeMetrics/MetricGroup.tsx @@ -13,13 +13,13 @@ interface Props { export function MetricGroup({ label, children }: Props) { return (
-
+
{label}
-
+
{children}
diff --git a/apps/explorer/src/components/HomeMetrics/index.tsx b/apps/explorer/src/components/HomeMetrics/index.tsx index ef8cd79ffd2..ccb25e5adc7 100644 --- a/apps/explorer/src/components/HomeMetrics/index.tsx +++ b/apps/explorer/src/components/HomeMetrics/index.tsx @@ -27,7 +27,9 @@ function StatsWrapper(props: StatsProps) { function FormattedStatsAmount({ amount, ...props -}: Omit & { amount?: string | number | bigint }) { +}: Omit & { + amount?: string | number | bigint; +}) { const [formattedAmount, postfix] = formatAmountParts(amount); return ( @@ -64,12 +66,14 @@ export function HomeMetrics() { ); return ( - - - Sui Network Stats - + +
+ + Sui Network Stats + +
-
+