Skip to content

Commit

Permalink
[app] Constrain width on ToolInvocations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhancock committed Nov 26, 2024
1 parent e111f33 commit e0d37eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/desktop/src/components/GooseMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function GooseMessage({ message, metadata, messages, append }: Go
<div className="flex">
<div className="flex flex-col">
{message.toolInvocations && (
<div className="bg-goose-bubble text-white rounded-2xl p-4 mb-[16px]">
<div className="bg-goose-bubble max-w-[100%] overflow-hidden text-white rounded-2xl p-4 mb-[16px]">
<div className="space-y-4">
{message.toolInvocations.map((toolInvocation) => (
<ToolInvocation
Expand All @@ -39,7 +39,7 @@ export default function GooseMessage({ message, metadata, messages, append }: Go
)}

{message.content && (
<div className="bg-goose-bubble text-white rounded-2xl p-4 mb-[16px]">
<div className="bg-goose-bubble max-w-[100%] overflow-hidden text-white rounded-2xl p-4 mb-[16px]">
<ReactMarkdown className="prose prose-xs">{message.content}</ReactMarkdown>
</div>
)}
Expand Down

0 comments on commit e0d37eb

Please sign in to comment.