Skip to content

Commit 51db465

Browse files
committed
fix(md-render): add not-italic to fallback code element
1 parent eff7fdf commit 51db465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/preview-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ const STATIC_MARKDOWN_COMPONENTS = {
583583
/>
584584
) : (
585585
<pre className='m-0 overflow-x-auto whitespace-pre p-4 font-mono text-[13px] text-[var(--text-primary)] not-italic leading-[1.6]'>
586-
<code>{codeString.trimEnd()}</code>
586+
<code className='not-italic'>{codeString.trimEnd()}</code>
587587
</pre>
588588
)}
589589
</div>

0 commit comments

Comments
 (0)