fix(copilot): fixed copilot code component overflowing gutter (#2230)

This commit is contained in:
Waleed
2025-12-06 15:20:41 -08:00
committed by GitHub
parent 23ef39de72
commit 7bfc6ebe48

View File

@@ -1017,7 +1017,7 @@ export function ToolCall({ toolCall: toolCallProp, toolCallId, onStateChange }:
</div>
{code && (
<div className='mt-2'>
<Code.Viewer code={code} language='javascript' showGutter />
<Code.Viewer code={code} language='javascript' showGutter className='min-h-0' />
</div>
)}
{showRemoveAutoAllow && isAutoAllowed && (