Skip to content

Commit

Permalink
Desktop: Fixed search marker background color in Markdown editor
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Feb 16, 2022
1 parent 166d8da commit 440618e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,9 @@ function CodeMirror(props: NoteBodyEditorProps, ref: any) {
color: ${theme.searchMarkerColor} !important;
}
/* We need !important because the search marker is overridden by CodeMirror's own text selection marker */
.cm-search-marker-selected {
background: ${theme.selectedColor2};
background: ${theme.selectedColor2} !important;
color: ${theme.color2} !important;
}
Expand Down

0 comments on commit 440618e

Please sign in to comment.