diff --git a/nextjs-app/components/SchoolDetailView.module.css b/nextjs-app/components/SchoolDetailView.module.css index 086533c..0d6b963 100644 --- a/nextjs-app/components/SchoolDetailView.module.css +++ b/nextjs-app/components/SchoolDetailView.module.css @@ -482,18 +482,7 @@ .rcGrade4 { background: rgba(249, 115, 22, 0.12); color: #c2410c; } /* Needs attention */ .rcGrade5 { background: rgba(224, 114, 86, 0.15); color: var(--accent-coral, #e07256); } /* Urgent improvement */ -/* Safeguarding badge */ -.safeguardingRow { - display: flex; - align-items: center; - gap: 0.75rem; - margin-bottom: 1rem; -} -.safeguardingLabel { - font-size: 0.875rem; - font-weight: 600; - color: var(--text-primary, #1a1612); -} +/* Safeguarding value (used inside a standard metricCard) */ .safeguardingMet { display: inline-block; padding: 0.2rem 0.6rem; diff --git a/nextjs-app/components/SchoolDetailView.tsx b/nextjs-app/components/SchoolDetailView.tsx index 10a60ab..cd5dbfe 100644 --- a/nextjs-app/components/SchoolDetailView.tsx +++ b/nextjs-app/components/SchoolDetailView.tsx @@ -220,15 +220,15 @@ export function SchoolDetailView({
From November 2025, Ofsted replaced single overall grades with Report Cards rating schools across several areas.
- {ofsted.rc_safeguarding_met != null && ( -