UI update with sidebar and settings tabs (#3288)
Co-authored-by: Nahiyan Khan <nahiyan@squareup.com> Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Co-authored-by: Lily Delalande <119957291+lily-de@users.noreply.github.com> Co-authored-by: Spence <spencrmartin@gmail.com> Co-authored-by: spencrmartin <spencermartin@squareup.com> Co-authored-by: Judson Stephenson <Jud@users.noreply.github.com> Co-authored-by: Max Novich <mnovich@squareup.com> Co-authored-by: Best Codes <106822363+The-Best-Codes@users.noreply.github.com> Co-authored-by: caroline-a-mckenzie <cmckenzie@squareup.com> Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@ export function ToolCallArguments({ args }: ToolCallArgumentsProps) {
|
||||
|
||||
if (!needsExpansion) {
|
||||
return (
|
||||
<div className="text-sm mb-2">
|
||||
<div className="text-xs mb-2">
|
||||
<div className="flex flex-row">
|
||||
<span className="text-textSubtle min-w-[140px]">{key}</span>
|
||||
<span className="text-textPlaceholder">{value}</span>
|
||||
@@ -78,9 +78,11 @@ export function ToolCallArguments({ args }: ToolCallArgumentsProps) {
|
||||
|
||||
return (
|
||||
<div className="mb-2">
|
||||
<div className="flex flex-row">
|
||||
<span className="mr- text-textPlaceholder min-w-[140px]2">{key}:</span>
|
||||
<pre className="whitespace-pre-wrap text-textPlaceholder">{content}</pre>
|
||||
<div className="flex flex-row text-xs">
|
||||
<span className="text-textSubtle min-w-[140px]">{key}</span>
|
||||
<pre className="whitespace-pre-wrap text-textPlaceholder overflow-x-auto max-w-full">
|
||||
{content}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user