Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/ui/Alert.tsx

Steven Enamakel93d1ca907bee
diff --git a/app/src/components/ui/Alert.tsx b/app/src/components/ui/Alert.tsx
index 7df6fbafdb..72e15f0d3f 100644
--- a/app/src/components/ui/Alert.tsx
+++ b/app/src/components/ui/Alert.tsx
@@ -108,9 +108,12 @@ export const AlertDescription = ({ className, ...rest }: ComponentPropsWithRef<'
return (
<div
data-slot="alert-description"
+ // The size leads, because tailwind-merge treats a font size as
+ // conflicting with `leading-*` (Tailwind's `text-sm/6` shorthand sets
+ // both). Appending `text-xs` would silently strip the line height.
className={cn(
- 'text-sm leading-relaxed opacity-90',
- density === 'compact' && 'text-xs',
+ density === 'compact' ? 'text-xs' : 'text-sm',
+ 'leading-relaxed opacity-90',
className
)}
{...rest}