Adopt shared WebUI layout primitives
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { MetricGrid } from "@govoplan/core-webui";
|
||||
import {
|
||||
useEffect,
|
||||
useMemo,
|
||||
@@ -491,7 +492,7 @@ export default function DashboardPage({
|
||||
}
|
||||
>
|
||||
|
||||
<div className="metric-grid dashboard-summary-grid">
|
||||
<MetricGrid className="dashboard-summary-metrics">
|
||||
<MetricCard
|
||||
label="Active interface modules"
|
||||
value={modules.length}
|
||||
@@ -516,7 +517,7 @@ export default function DashboardPage({
|
||||
tone="neutral"
|
||||
detail={layoutSourceLabel(layoutSource)}
|
||||
/>
|
||||
</div>
|
||||
</MetricGrid>
|
||||
|
||||
<LoadingFrame loading={loading} label="Loading Dashboard layout">
|
||||
{configuring ? (
|
||||
|
||||
Reference in New Issue
Block a user