added error class to the errorElement in base.ts

This commit is contained in:
Princiya Sequeira
2022-04-25 19:45:23 +02:00
parent 0d3d64eab9
commit 2f7d948074
2 changed files with 6 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ export class PyRepl extends BaseEvalElement {
// })
];
const customTheme = EditorView.theme({
'.cm-focused .cm-editor, .cm-editor ::selection': { outline: '0px' },
'&.cm-focused .cm-editor': { outline: '0px' },
'.cm-scroller': { lineHeight: 2.5 },
'.cm-activeLine': { backgroundColor: '#fff' },
'.cm-content': { padding: 0, backgroundColor: '#f5f5f5' },