forked from Botanical/BotanJS
Chinese font fix
This commit is contained in:
@@ -3,11 +3,8 @@
|
||||
|
||||
border-width: 1px;
|
||||
|
||||
color: #C2C5C9;
|
||||
background-color: #0C121B;
|
||||
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
color: #C2C5C9;
|
||||
background-color: #0C121B;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +61,17 @@
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.section > div {
|
||||
margin-bottom: -100px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.section > div > p {
|
||||
padding-bottom: 100px;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
|
||||
.section:hover:before {
|
||||
color: #909396;
|
||||
}
|
||||
|
@@ -44,8 +44,8 @@
|
||||
}
|
||||
|
||||
buildMessage.innerHTML = message
|
||||
.replace( sRegEx, "<pre class=\"section\" data-name=\"$1\">" )
|
||||
.replace( eRegEx, "</pre>" )
|
||||
.replace( sRegEx, "<pre class=\"section\" data-name=\"$1\"><div><p>" )
|
||||
.replace( eRegEx, "</p></div></pre>" )
|
||||
.replace( /: (failed|ok)\n/g, ": <span class=\"status $1\">$1</span>\n" )
|
||||
;
|
||||
|
||||
|
Reference in New Issue
Block a user