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.
This commit is contained in:
Electron - Mark Firth 2018-06-25 01:27:34 +10:00 committed by GitHub
parent f597fe6f2f
commit f952719bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}