fix z-index

This commit is contained in:
Felix Roos 2022-04-25 21:32:25 +02:00
parent 5dea15ade9
commit 5aed046b34

View File

@ -26,13 +26,16 @@ export const materialPalenightTheme = EditorView.theme(
'&': { '&': {
color: '#ffffff', color: '#ffffff',
backgroundColor: background, backgroundColor: background,
'z-index': 11,
}, },
// done // done
'.cm-content': { '.cm-content': {
caretColor: cursor, caretColor: cursor,
}, },
'.cm-line > *': {
background: '#00000070',
},
// done // done
'&.cm-focused .cm-cursor': { '&.cm-focused .cm-cursor': {
borderLeftColor: cursor, borderLeftColor: cursor,