Skip to content

Commit cca82cf

Browse files
committed
Fix CodeMirror line numbers
The line numbers in CodeMirror editor could show incorrectly because of the overflow-wrap: break-word introduced in 26d7e2f. Set the normal overflow-wrap on the editor to prevent this problem.
1 parent 64811ff commit cca82cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

html/css/ejs.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ blockquote footer:before {
326326
height: auto;
327327
line-height: 1.35;
328328
border-top: 1px solid #4ab;
329+
overflow-wrap: normal;
329330
}
330331
.CodeMirror-scroll {
331332
max-height: 700px;

0 commit comments

Comments
 (0)