mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-19 20:31:46 +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.
|
||||
'&, &.CodeMirror': baseGlobalStyle,
|
||||
|
||||
'& .cm-dropCursor': {
|
||||
backgroundColor: isDarkTheme ? 'white' : 'black',
|
||||
width: '1px',
|
||||
},
|
||||
|
||||
// These must be !important or more specific than CodeMirror's built-ins
|
||||
'& .cm-content': {
|
||||
fontFamily: theme.fontFamily,
|
||||
|
Loading…
Reference in New Issue
Block a user