disable text wrapping in code blocks

This commit is contained in:
Felix Lange 2019-11-01 14:09:53 +01:00
parent 536193e210
commit 44ca35842d

View file

@ -7,9 +7,15 @@ h1, h2, h3 {
margin-bottom: 24px; margin-bottom: 24px;
} }
pre code {
white-space: pre;
}
code { code {
color: #7b8a8b; color: #7b8a8b;
background-color: #ecf0f1; background-color: #ecf0f1;
overflow-x: scroll;
overflow-y: hidden;
} }
a code { a code {