Skip to content
Snippets Groups Projects
Commit 3d7915fa authored by cahrens's avatar cahrens
Browse files

Use monospaced font for CodeMirror editor.

Cursor position gets off with non-monospaced font.
STUD-1456.

Vertical alignment of monospace font in advanced settings via position css adjustment
parent cee1ebc9
No related merge requests found
......@@ -828,7 +828,7 @@
border: 1px solid $mediumGrey;
border-radius: 2px;
background-color: $lightGrey;
font-family: 'Open Sans', sans-serif;
font-family: $f-monospace;
color: $baseFontColor;
outline: 0;
height: auto;
......@@ -840,6 +840,10 @@
outline: 0;
}
.CodeMirror-sizer {
top: 4px; /* Vertical alignment for monospace font */
}
// editor color changes just for JSON
.CodeMirror-lines {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment