Commit 4680b9f9 by kimth

Fix cursor/text mismatch in Code/External-Response styling

parent 31641252
......@@ -5,7 +5,7 @@
.CodeMirror-scroll {
overflow: auto;
height: 300px;
height: 480px;
/* This is needed to prevent an IE[67] bug where the scrolled content
is visible outside of the scrolling box. */
position: relative;
......@@ -38,12 +38,18 @@
border-radius: 0;
border-width: 0; margin: 0; padding: 0; background: transparent;
font-family: inherit;
font-size: inherit;
font-size: 16px;
padding: 0; margin: 0;
white-space: pre;
line-height: 22px;
word-wrap: normal;
}
/* THK: This is to prevent global 'span' from defining .CodeMirror style */
.CodeMirror pre span {
font: inherit;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
......
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