We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64cfc75 + b729a9d commit b6f5607Copy full SHA for b6f5607
apps/app/src/app/[locale]/(app)/(dashboard)/[orgId]/policies/[policyId]/components/PolicyOverview.tsx
@@ -105,9 +105,12 @@ export function PolicyOverview({
105
106
return (
107
<div className="space-y-4">
108
- {isPendingApproval && (
109
- <Alert className="border-red-500 bg-red-50 rounded-sm">
110
- <ShieldX className="h-4 w-4" />
+ {isPendingApproval && (
+ <Alert
+ variant="destructive"
111
+ className="rounded-sm bg-destructive/10 dark:bg-destructive/20"
112
+ >
113
+ <ShieldX className="h-4 w-4" />
114
<AlertTitle>
115
{canCurrentUserApprove
116
? "Action Required by You"
0 commit comments