Skip to content

Commit 7bfc6eb

Browse files
authored
fix(copilot): fixed copilot code component overflowing gutter (#2230)
1 parent 23ef39d commit 7bfc6eb

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call/tool-call.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ export function ToolCall({ toolCall: toolCallProp, toolCallId, onStateChange }:
10171017
</div>
10181018
{code && (
10191019
<div className='mt-2'>
1020-
<Code.Viewer code={code} language='javascript' showGutter />
1020+
<Code.Viewer code={code} language='javascript' showGutter className='min-h-0' />
10211021
</div>
10221022
)}
10231023
{showRemoveAutoAllow && isAutoAllowed && (

0 commit comments

Comments
 (0)