Skip to content

Commit

Permalink
fix scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Dankco committed Mar 22, 2024
1 parent 6055cba commit 275d95a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/RunCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const RunCode: React.FC<RunCodeProps> = ({
<></>
)}
{displayText != '' && (
<p className="code">
<p className="code" style={{overflow: 'scroll'}}>
<pre>
<code>{displayText}</code>
</pre>
Expand Down
1 change: 0 additions & 1 deletion src/styles/PageWrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ $layout-hspacing: 13vh;
display: inline-flex;
font-family: $courier;
font-size: 20px;
overflow: scroll;
padding: 0 5px;
}

Expand Down

0 comments on commit 275d95a

Please sign in to comment.