Skip to content

Commit

Permalink
Fix scroll (#494)
Browse files Browse the repository at this point in the history
* fix scroll

* fix lint
  • Loading branch information
Dankco committed Mar 22, 2024
1 parent 8d40c68 commit d19a7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RunCode.tsx
Expand Up @@ -72,7 +72,7 @@ const RunCode: React.FC<RunCodeProps> = ({
<></>
)}
{displayText != '' && (
<p className="code" style={{overflow: 'scroll'}}>
<p className="code" style={{ overflow: 'scroll' }}>
<pre>
<code>{displayText}</code>
</pre>
Expand Down

0 comments on commit d19a7ed

Please sign in to comment.