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:
Dmitry Yakimenko 2019-02-03 09:10:21 +01:00 committed by Track3
parent c099cb4a0f
commit ea656ac40c
1 changed files with 1 additions and 3 deletions

View File

@ -41,14 +41,12 @@ pre tt {
}
pre {
max-height: 40em;
padding: .7em 1.1em;
overflow: auto;
font-size: .9em;
line-height: 1.5;
letter-spacing: normal;
white-space: pre-wrap;
word-wrap: break-word;
white-space: pre;
color: #eee;
background: $midnightblue;
border-radius: 4px;