Disable wrapping of text in code blocks, scroll instead (#44)
* Disable wrapping of text in code blocks, scroll instead * Remove pre.max-height
This commit is contained in:
parent
c099cb4a0f
commit
ea656ac40c
1 changed files with 1 additions and 3 deletions
|
@ -41,14 +41,12 @@ pre tt {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
max-height: 40em;
|
|
||||||
padding: .7em 1.1em;
|
padding: .7em 1.1em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
white-space: pre-wrap;
|
white-space: pre;
|
||||||
word-wrap: break-word;
|
|
||||||
color: #eee;
|
color: #eee;
|
||||||
background: $midnightblue;
|
background: $midnightblue;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
Loading…
Reference in a new issue