This commit is contained in:
Matt Van Horn 2026-05-23 11:05:44 +03:00 committed by GitHub
commit fa3cdc3c80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,11 @@ const ToastTitle = React.forwardRef<
React.ElementRef<typeof ToastPrimitives.Title>,
React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>
>(({ className, ...props }, ref) => (
<ToastPrimitives.Title ref={ref} className={cn('text-sm font-semibold', className)} {...props} />
<ToastPrimitives.Title
ref={ref}
className={cn('select-text text-sm font-semibold', className)}
{...props}
/>
));
ToastTitle.displayName = ToastPrimitives.Title.displayName;
@ -99,7 +103,7 @@ const ToastDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
<ToastPrimitives.Description
ref={ref}
className={cn('text-sm opacity-90', className)}
className={cn('select-text text-sm opacity-90', className)}
{...props}
/>
));