Skip to content

Commit ef705a6

Browse files
fix muted text not being displayed correctly
1 parent a3de6be commit ef705a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ui/card.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ function CardDescription({ className, ...props }: React.ComponentProps<'div'>) {
4242
return (
4343
<div
4444
data-slot="card-description"
45-
className={cn('text-muted-foreground text-small', className)}
45+
className={cn(
46+
'text-muted-foreground text-xs sm:text-sm',
47+
className
48+
)}
4649
{...props}
4750
/>
4851
)

0 commit comments

Comments
 (0)