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) {
95
95
return (
96
96
<tr class = " [&>*]:align-top [&>*]:m-0 [&>*:not(:first-child)]:py-2 [&>*:not(:first-child)]:pl-6 [&>*:not(:first-child)]:max-w-xl" >
97
97
<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 >
99
99
</td >
100
100
{ props .columns ? (
101
101
<Fragment set :html = { row .slot ? Astro .slots .render (row .slot ) : undefined } />
You can’t perform that action at this time.
0 commit comments