From f952719bb0766911aac2e5d7e0dd5b1b34028b43 Mon Sep 17 00:00:00 2001 From: Electron - Mark Firth Date: Mon, 25 Jun 2018 01:27:34 +1000 Subject: [PATCH] Spell Checker CSS Style Changes These changes follow typical styling for spelling errors in most applications which means people are familiar with them which avoids confusion. The changes also mean that the incorrect spelling style is more visible especially in the Dark theme where it was almost impossible to see. --- src/renderer/scss/component/_markdown-editor.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/scss/component/_markdown-editor.scss b/src/renderer/scss/component/_markdown-editor.scss index d6a07c1d1..5a339cbbb 100644 --- a/src/renderer/scss/component/_markdown-editor.scss +++ b/src/renderer/scss/component/_markdown-editor.scss @@ -91,3 +91,9 @@ div.editor-toolbar a { .CodeMirror .CodeMirror-placeholder { opacity: 0.5; } +.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) { + background: none; + text-decoration: underline; + text-decoration-color: #f00; + text-decoration-style: dotted; +} -- 2.45.2