Skip to content

Commit

Permalink
fix: issue with theme not loading correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Jul 9, 2023
1 parent fef954b commit d92fcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const CustomEditor = () => {
<div className={styles.editor}>
<Editor
defaultLanguage='python'
theme='vs-dark'
options={{
theme: 'vs-dark',
lineNumbersMinChars: 4,
minimap: { enabled: false },
overviewRulerLanes: 0,
Expand Down
3 changes: 2 additions & 1 deletion src/components/Result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ const ResultDisplayer = () => {
<div className={styles.editor}>
<Editor
defaultLanguage='python'
theme='vs-dark'
options={{
lineNumbers: 'off',
theme: 'vs-dark',
minimap: { enabled: false },
overviewRulerLanes: 0,
scrollbar: {
vertical: "hidden",
horizontal: "hidden",
},
wordWrap: 'on',
readOnly: true,
}}
value={codeResult}
/>
Expand Down

0 comments on commit d92fcb3

Please # to comment.