Skip to content

Commit e581608

Browse files
authored
fix(copilot): fix code viewer in copilot user inp (#2191)
1 parent a4d4dfa commit e581608

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/markdown-renderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export default function CopilotMarkdownRenderer({ content }: CopilotMarkdownRend
277277
code={actualCodeText}
278278
showGutter
279279
language={viewerLanguage}
280-
className='m-0 rounded-none border-0 bg-transparent'
280+
className='[&_pre]:!pb-0 m-0 rounded-none border-0 bg-transparent'
281281
/>
282282
</div>
283283
)

0 commit comments

Comments
 (0)