mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 23:17:59 -05:00
fix(copilot): fixed copilot code component overflowing gutter (#2230)
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user