|
|
@@ -13,7 +13,8 @@
|
|
|
.CodeMirror-lines {
|
|
|
padding: 4px 0; /* Vertical padding around content */
|
|
|
}
|
|
|
-.CodeMirror pre {
|
|
|
+.CodeMirror pre.CodeMirror-line,
|
|
|
+.CodeMirror pre.CodeMirror-line-like {
|
|
|
padding: 0 4px; /* Horizontal padding of content */
|
|
|
}
|
|
|
|
|
|
@@ -96,7 +97,7 @@
|
|
|
|
|
|
.CodeMirror-rulers {
|
|
|
position: absolute;
|
|
|
- left: 0; right: 0; top: -50px; bottom: -20px;
|
|
|
+ left: 0; right: 0; top: -50px; bottom: 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.CodeMirror-ruler {
|
|
|
@@ -236,7 +237,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
cursor: text;
|
|
|
min-height: 1px; /* prevents collapsing before first draw */
|
|
|
}
|
|
|
-.CodeMirror pre {
|
|
|
+.CodeMirror pre.CodeMirror-line,
|
|
|
+.CodeMirror pre.CodeMirror-line-like {
|
|
|
/* Reset some styles that the rest of the page might have set */
|
|
|
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
|
|
border-width: 0;
|
|
|
@@ -255,7 +257,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
|
-webkit-font-variant-ligatures: contextual;
|
|
|
font-variant-ligatures: contextual;
|
|
|
}
|
|
|
-.CodeMirror-wrap pre {
|
|
|
+.CodeMirror-wrap pre.CodeMirror-line,
|
|
|
+.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
|
word-wrap: break-word;
|
|
|
white-space: pre-wrap;
|
|
|
word-break: normal;
|