From 504255a0bd6e64bd19e567b91c00f1adc1a0c389 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 18 Aug 2026 11:30:40 +0200 Subject: [PATCH] Adopt shared WebUI layout primitives --- webui/src/features/riskCompliance/RiskCompliancePage.tsx | 5 +++-- webui/src/styles/risk-compliance.css | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/webui/src/features/riskCompliance/RiskCompliancePage.tsx b/webui/src/features/riskCompliance/RiskCompliancePage.tsx index 774f69d..535e1f7 100644 --- a/webui/src/features/riskCompliance/RiskCompliancePage.tsx +++ b/webui/src/features/riskCompliance/RiskCompliancePage.tsx @@ -1,3 +1,4 @@ +import { MetricGrid } from "@govoplan/core-webui"; import { CheckCircle2, Database, @@ -1249,7 +1250,7 @@ function AssurancePane({ documentation={RISK_COMPLIANCE_DOCUMENTATION} /> )} -
+ @@ -1258,7 +1259,7 @@ function AssurancePane({ value={summary?.by_state.open ?? 0} tone={(summary?.by_state.open ?? 0) > 0 ? "danger" : "good"} /> -
+