Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.
TypeScript
style(ui): add wrap-anywhere class to AlertDialog and Dialog components
Lewis Carhart59edb6dc13c6
diff --git a/packages/ui/src/components/alert-dialog.tsx b/packages/ui/src/components/alert-dialog.tsxindex 53b4710e..42ad878d 100644--- a/packages/ui/src/components/alert-dialog.tsx+++ b/packages/ui/src/components/alert-dialog.tsx@@ -99,7 +99,10 @@ function AlertDialogTitle({return (<AlertDialogPrimitive.Titledata-slot="alert-dialog-title"- className={cn("font-heading text-sm font-medium", className)}+ className={cn(+ "font-heading text-sm font-medium wrap-anywhere",+ className,+ )}{...props}/>);@@ -113,7 +116,7 @@ function AlertDialogDescription({<AlertDialogPrimitive.Descriptiondata-slot="alert-dialog-description"className={cn(- "text-xs/relaxed text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",+ "text-xs/relaxed text-muted-foreground wrap-anywhere *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",className,)}{...props}diff --git a/packages/ui/src/components/dialog.tsx b/packages/ui/src/components/dialog.tsxindex ca57a62e..7f86323f 100644--- a/packages/ui/src/components/dialog.tsx+++ b/packages/ui/src/components/dialog.tsx@@ -127,7 +127,10 @@ function DialogTitle({return (<DialogPrimitive.Titledata-slot="dialog-title"- className={cn("font-heading text-sm font-medium", className)}+ className={cn(+ "font-heading text-sm font-medium wrap-anywhere",+ className,+ )}{...props}/>);@@ -141,7 +144,7 @@ function DialogDescription({<DialogPrimitive.Descriptiondata-slot="dialog-description"className={cn(- "text-xs/relaxed text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",+ "text-xs/relaxed text-muted-foreground wrap-anywhere *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",className,)}{...props}