We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7549d9 commit 97e25b7Copy full SHA for 97e25b7
1 file changed
apps/sim/components/emcn/components/code/code.tsx
@@ -333,7 +333,7 @@ function Viewer({
333
{idx + 1}
334
</div>
335
<pre
336
- className='m-0 min-w-0 whitespace-pre-wrap pr-2 pl-2 font-mono text-[#eeeeee] text-[13px] leading-[21px]'
+ className='m-0 min-w-0 whitespace-pre-wrap break-words pr-2 pl-2 font-mono text-[#eeeeee] text-[13px] leading-[21px]'
337
// Using per-line highlighting keeps the gutter height in sync with wrapped content
338
dangerouslySetInnerHTML={{ __html: perLineHighlighted || ' ' }}
339
/>
0 commit comments