Skip to content

Commit e4fb607

Browse files
fix(frontend): style misspelt words in markdown editor
1 parent 860c8ef commit e4fb607

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/frontend/styles/vendor/codemirror.css

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
color: var(--color-token-comment);
2525
}
2626

27+
.cm-spell-error {
28+
/* Safari doesn’t accept text-decoration shorthand */
29+
text-decoration-color: var(--color-error);
30+
text-decoration-line: underline;
31+
text-decoration-style: dotted;
32+
text-decoration-thickness: 0.125em;
33+
text-underline-offset: 0.25em;
34+
}
35+
2736
.cm-string {
2837
color: var(--color-token-string);
2938
}

0 commit comments

Comments
 (0)