Skip to content

Commit cbb5fbf

Browse files
committed
Remove the max width for tool and reasoning messages
1 parent 8f544d5 commit cbb5fbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Messages/ReasoningMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const ReasoningMessage: React.FC<ReasoningMessageProps> = ({ message, cla
4949
return (
5050
<div
5151
className={cn(
52-
"my-2 px-2 py-1 bg-[color-mix(in_srgb,var(--color-thinking-mode)_5%,transparent)] rounded relative max-w-[680px]",
52+
"my-2 px-2 py-1 bg-[color-mix(in_srgb,var(--color-thinking-mode)_5%,transparent)] rounded relative",
5353
className
5454
)}
5555
>

src/components/tools/shared/ToolPrimitives.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface ToolContainerProps extends React.HTMLAttributes<HTMLDivElement> {
1313
export const ToolContainer: React.FC<ToolContainerProps> = ({ expanded, className, ...props }) => (
1414
<div
1515
className={cn(
16-
"my-2 rounded font-mono text-[11px] transition-all duration-200 max-w-[680px]",
16+
"my-2 rounded font-mono text-[11px] transition-all duration-200",
1717
"[container-type:inline-size]",
1818
expanded ? "py-2 px-3" : "py-1 px-3",
1919
className

0 commit comments

Comments
 (0)