diff options
Diffstat (limited to 'language-web/src/main/js/editor/EditorParent.ts')
-rw-r--r-- | language-web/src/main/js/editor/EditorParent.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/language-web/src/main/js/editor/EditorParent.ts b/language-web/src/main/js/editor/EditorParent.ts index ee1323f6..2d74b863 100644 --- a/language-web/src/main/js/editor/EditorParent.ts +++ b/language-web/src/main/js/editor/EditorParent.ts | |||
@@ -34,6 +34,9 @@ export const EditorParent = styled('div')(({ theme }) => { | |||
34 | '&, .cm-editor': { | 34 | '&, .cm-editor': { |
35 | height: '100%', | 35 | height: '100%', |
36 | }, | 36 | }, |
37 | '.cm-content': { | ||
38 | padding: 0, | ||
39 | }, | ||
37 | '.cm-scroller, .cm-tooltip-autocomplete, .cm-completionLabel, .cm-completionDetail': { | 40 | '.cm-scroller, .cm-tooltip-autocomplete, .cm-completionLabel, .cm-completionDetail': { |
38 | fontSize: 16, | 41 | fontSize: 16, |
39 | fontFamily: '"JetBrains MonoVariable", "JetBrains Mono", monospace', | 42 | fontFamily: '"JetBrains MonoVariable", "JetBrains Mono", monospace', |
@@ -46,7 +49,7 @@ export const EditorParent = styled('div')(({ theme }) => { | |||
46 | color: theme.palette.text.secondary, | 49 | color: theme.palette.text.secondary, |
47 | }, | 50 | }, |
48 | '.cm-gutters': { | 51 | '.cm-gutters': { |
49 | background: theme.palette.background.default, | 52 | background: 'rgba(255, 255, 255, 0.1)', |
50 | color: theme.palette.text.disabled, | 53 | color: theme.palette.text.disabled, |
51 | border: 'none', | 54 | border: 'none', |
52 | }, | 55 | }, |
@@ -57,7 +60,9 @@ export const EditorParent = styled('div')(({ theme }) => { | |||
57 | background: 'rgba(0, 0, 0, 0.3)', | 60 | background: 'rgba(0, 0, 0, 0.3)', |
58 | }, | 61 | }, |
59 | '.cm-activeLineGutter': { | 62 | '.cm-activeLineGutter': { |
60 | background: 'rgba(0, 0, 0, 0.3)', | 63 | background: 'transparent', |
64 | }, | ||
65 | '.cm-lineNumbers .cm-activeLineGutter': { | ||
61 | color: theme.palette.text.primary, | 66 | color: theme.palette.text.primary, |
62 | }, | 67 | }, |
63 | '.cm-cursor, .cm-cursor-primary': { | 68 | '.cm-cursor, .cm-cursor-primary': { |