Skip to content

Commit 97e25b7

Browse files
committed
fix: output break words
1 parent d7549d9 commit 97e25b7

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/components/emcn/components/code

1 file changed

+1
-1
lines changed

apps/sim/components/emcn/components/code/code.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function Viewer({
333333
{idx + 1}
334334
</div>
335335
<pre
336-
className='m-0 min-w-0 whitespace-pre-wrap pr-2 pl-2 font-mono text-[#eeeeee] text-[13px] leading-[21px]'
336+
className='m-0 min-w-0 whitespace-pre-wrap break-words pr-2 pl-2 font-mono text-[#eeeeee] text-[13px] leading-[21px]'
337337
// Using per-line highlighting keeps the gutter height in sync with wrapped content
338338
dangerouslySetInnerHTML={{ __html: perLineHighlighted || '&nbsp;' }}
339339
/>

0 commit comments

Comments
 (0)