diff options
Diffstat (limited to 'subprojects/frontend/src/editor/EditorTheme.ts')
-rw-r--r-- | subprojects/frontend/src/editor/EditorTheme.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/EditorTheme.ts b/subprojects/frontend/src/editor/EditorTheme.ts index f5267682..c3cbffc8 100644 --- a/subprojects/frontend/src/editor/EditorTheme.ts +++ b/subprojects/frontend/src/editor/EditorTheme.ts | |||
@@ -64,6 +64,13 @@ export default styled('div', { | |||
64 | overflow: 'hidden', | 64 | overflow: 'hidden', |
65 | flex: '1 1', | 65 | flex: '1 1', |
66 | }, | 66 | }, |
67 | '.cm-scroller-spacer': { | ||
68 | position: 'sticky', | ||
69 | flexShrink: 0, | ||
70 | zIndex: 300, | ||
71 | width: 1, | ||
72 | marginRight: -1, | ||
73 | }, | ||
67 | '.cm-scroller': { | 74 | '.cm-scroller': { |
68 | color: theme.palette.text.secondary, | 75 | color: theme.palette.text.secondary, |
69 | scrollbarWidth: 'none', | 76 | scrollbarWidth: 'none', |
@@ -126,7 +133,7 @@ export default styled('div', { | |||
126 | }, | 133 | }, |
127 | '.cm-content': { | 134 | '.cm-content': { |
128 | ...editorFontStyle, | 135 | ...editorFontStyle, |
129 | padding: 0, | 136 | padding: '0 12px 0 0', |
130 | }, | 137 | }, |
131 | '.cm-activeLine': { | 138 | '.cm-activeLine': { |
132 | background: showActiveLine | 139 | background: showActiveLine |