Browse Source

fix .CodeMirror pre font-family

Yuki Takei 7 năm trước cách đây
mục cha
commit
6b7913fda8
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/client/styles/scss/_on-edit.scss

+ 5 - 0
src/client/styles/scss/_on-edit.scss

@@ -288,6 +288,11 @@ body.on-edit {
   display: block;
 }
 
+// overwrite .CodeMirror pre
+.CodeMirror pre {
+  font-family: $font-family-monospace;
+}
+
 // overwrite .CodeMirror-hints
 .CodeMirror-hints {
   max-height: 30em !important;