Fix cursor/text mismatch in Code/External-Response styling
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user