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 { 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;