diff --git a/src/components/admin/danger-zone-section.tsx b/src/components/admin/danger-zone-section.tsx index 93cebfdd3..a9607cd90 100644 --- a/src/components/admin/danger-zone-section.tsx +++ b/src/components/admin/danger-zone-section.tsx @@ -15,6 +15,7 @@ import { AlertDialogTrigger, } from "@/components/ui/alert-dialog"; import { Button } from "@/components/ui/button"; +import { SettingsCardHeader } from "@/components/settings/_card-header"; import { useTranslations } from "@/lib/i18n/context"; import { apiDelete } from "@/lib/api/api-fetch"; @@ -59,24 +60,25 @@ export function DangerZoneSection() { }); return ( + // v1.18.1 E4 — adopt the shared card shape (rounded-xl border + the + // `SettingsCardHeader` icon/title/description/status layout) so the + // Danger Zone reads like every other admin section. The destructive + // tint + AlertTriangle icon keep it visually flagged as dangerous; + // the delete affordance now sits in the header status slot, properly + // aligned beside its label rather than floating below a lone icon.
{t("admin.deleteAllData")}
-- {t("admin.deleteAllDescription")} -
-- {wipeMsg} -
- )} -+ {wipeMsg} +
+ )}