Skip to content

Commit

Permalink
Enhancement: Code snippets UI (#1494)
Browse files Browse the repository at this point in the history
* update editor look

* remove focus styling

* remove ruler border
  • Loading branch information
ElinorW authored Mar 3, 2022
1 parent a6aa6f3 commit 54e2940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/app/views/common/monaco/Monaco.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@ export function Monaco(props: IMonaco) {
automaticLayout: true,
minimap: { enabled: false },
readOnly,
scrollbar: {
horizontalHasArrows: true,
horizontal: 'visible',
horizontalScrollbarSize: 17
},
wordWrap: 'on',
folding: true,
foldingStrategy: 'indentation',
showFoldingControls: 'always'
showFoldingControls: 'always',
renderLineHighlight: 'none',
scrollBeyondLastLine: false,
overviewRulerBorder: false
}}
onChange={onChange}
theme={theme === 'light' ? 'vs' : 'vs-dark'}
Expand Down
4 changes: 0 additions & 4 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
margin: 5px !important;
}

:focus {
outline: 2px solid #258EDE !important;
}

.ms-DetailsHeader {
padding-top: 0px !important;
}
Expand Down

0 comments on commit 54e2940

Please sign in to comment.