mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
parent
f091c32992
commit
4356a2010d
5
packages/editor/CodeMirror/theme.ts
vendored
5
packages/editor/CodeMirror/theme.ts
vendored
@ -93,6 +93,11 @@ const createTheme = (theme: EditorTheme): Extension[] => {
|
|||||||
// need to be overridden.
|
// need to be overridden.
|
||||||
'&, &.CodeMirror': baseGlobalStyle,
|
'&, &.CodeMirror': baseGlobalStyle,
|
||||||
|
|
||||||
|
'& .cm-dropCursor': {
|
||||||
|
backgroundColor: isDarkTheme ? 'white' : 'black',
|
||||||
|
width: '1px',
|
||||||
|
},
|
||||||
|
|
||||||
// These must be !important or more specific than CodeMirror's built-ins
|
// These must be !important or more specific than CodeMirror's built-ins
|
||||||
'& .cm-content': {
|
'& .cm-content': {
|
||||||
fontFamily: theme.fontFamily,
|
fontFamily: theme.fontFamily,
|
||||||
|
Loading…
Reference in New Issue
Block a user