Skip to content

Commit

Permalink
add back in style
Browse files Browse the repository at this point in the history
  • Loading branch information
Dankco committed Feb 26, 2024
1 parent bc623be commit 3909c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/RunCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const RunCode: React.FC<RunCodeProps> = ({
displayText,
questions,
check = false,
styles
}) => {
const [selections, setSelections] = useState<string[]>([]);
const [answers, setAnswers] = useState<Array<boolean | null>>([]);
Expand Down Expand Up @@ -51,7 +52,7 @@ const RunCode: React.FC<RunCodeProps> = ({
};

return (
<div className="box-container">
<div className="box-container" style={styles}>
{displayText != '' && (
<p className="code">
<pre>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function Sidebar(props: sidebarProps): JSX.Element {
{
name: '5. Passing Confusion',
link: PageURLs.EXERCISE_5,
}
},
];
const hiddenX = -357;
const showX = 0;
Expand Down

0 comments on commit 3909c8e

Please sign in to comment.