Commit dfed60fa by Christina Roberts

Merge pull request #3163 from edx/christina/advanced-settings-font

Use monospaced font for CodeMirror editor.
parents 63c58bb2 3d7915fa
...@@ -828,7 +828,7 @@ ...@@ -828,7 +828,7 @@
border: 1px solid $mediumGrey; border: 1px solid $mediumGrey;
border-radius: 2px; border-radius: 2px;
background-color: $lightGrey; background-color: $lightGrey;
font-family: 'Open Sans', sans-serif; font-family: $f-monospace;
color: $baseFontColor; color: $baseFontColor;
outline: 0; outline: 0;
height: auto; height: auto;
...@@ -839,6 +839,10 @@ ...@@ -839,6 +839,10 @@
outline: 0; outline: 0;
} }
.CodeMirror-sizer {
top: 4px; /* Vertical alignment for monospace font */
}
// editor color changes just for JSON // editor color changes just for JSON
.CodeMirror-lines { .CodeMirror-lines {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment