We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25c877 commit 1ee96d5Copy full SHA for 1ee96d5
apps/postgres-new/components/code-accordion.tsx
@@ -29,14 +29,14 @@ export default function CodeAccordion({
29
value="item-1"
30
className={cn(
31
'border bg-muted px-3 py-2 rounded-md',
32
- error ? 'bg-destructive text-destructive-foreground' : undefined,
+ error ? 'border-destructive' : undefined,
33
className
34
)}
35
>
36
<AccordionTrigger className="p-0 gap-2">
37
<div className="flex gap-2 items-center font-normal text-lighter text-sm">
38
<DatabaseZap size={14} className="text-muted-foreground" />
39
- {title}
+ <span className={cn(error ? 'text-destructive' : undefined)}>{title}</span>
40
</div>
41
</AccordionTrigger>
42
<AccordionContent className="py-2 [&_>div]:pb-0 flex flex-col gap-2">
0 commit comments