File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/components/AnnotatedCode Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ for (const attr of codeTag.attributes) {
9595 return (
9696 <tr class = " [&>*]:align-top [&>*]:m-0 [&>*:not(:first-child)]:py-2 [&>*:not(:first-child)]:pl-6 [&>*:not(:first-child)]:max-w-xl" >
9797 <td class = " align-top p-0" style = " height:100%; margin:0" >
98- <pre { ... preAttrs } style = { ` ${getPreStyle (i )};height:100% ` } ><code { ... codeAttrs } set :html = { lineNodes .map ((n ) => n .outerHTML ).join (' \n ' )} /></pre >
98+ <pre { ... preAttrs } style = { ` ${getPreStyle (i )};overflow:visible;white-space:pre-wrap;word-wrap:break-word; height:100%; ` } ><code { ... codeAttrs } set :html = { lineNodes .map ((n ) => n .outerHTML ).join (' \n ' )} /></pre >
9999 </td >
100100 { props .columns ? (
101101 <Fragment set :html = { row .slot ? Astro .slots .render (row .slot ) : undefined } />
You can’t perform that action at this time.
0 commit comments