Skip to content

Commit f884e1d

Browse files
truncate description if necessary
1 parent 7192c6e commit f884e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function CardDescription({ className, ...props }: React.ComponentProps<'div'>) {
4343
<div
4444
data-slot="card-description"
4545
className={cn(
46-
'text-muted-foreground text-xs sm:text-sm',
46+
'text-muted-foreground text-xs sm:text-sm truncate',
4747
className
4848
)}
4949
{...props}

0 commit comments

Comments
 (0)