fix(webui): restore CJK line height and refine text wrapping

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-05 22:25:42 +08:00
1 parent 6ff96f2a8f
commit 24033152c7
3 files changed
+27 -12

No files matched your search

+2 -2
View File
@@ -78,7 +78,7 @@ const AlertDialogTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<AlertDialogPrimitive.Title
ref={ref}
className={cn("text-lg font-semibold", className)}
className={cn("text-balance text-lg font-semibold", className)}
{...props}
/>
));
@@ -90,7 +90,7 @@ const AlertDialogDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
<AlertDialogPrimitive.Description
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
className={cn("text-pretty text-sm text-muted-foreground", className)}
{...props}
/>
));
+2 -2
View File
@@ -176,7 +176,7 @@ const DialogTitle = React.forwardRef<
<DialogPrimitive.Title
ref={ref}
className={cn(
"text-lg font-semibold leading-none tracking-tight",
"text-balance text-lg font-semibold leading-none tracking-tight",
className,
)}
{...props}
@@ -190,7 +190,7 @@ const DialogDescription = React.forwardRef<
>(({ className, ...props }, ref) => (
<DialogPrimitive.Description
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
className={cn("text-pretty text-sm text-muted-foreground", className)}
{...props}
/>
));