Prevent wrapping in code blocks

Use horizontal scrolling for long lines of code rather than wrapping.

Fix #467
This commit is contained in:
George Cushen committed 2018-04-16 01:25:11 +01:00
1 parent 793d91e5c6
commit a5a0037c68
1 file changed
+5 -1
+5 -1
View File
@@ -171,11 +171,15 @@ code {
pre {
margin: 0 0 1rem 0;
overflow: auto;
background-color: rgb(248, 248, 248); /* Match default highlight theme. */
border-color: rgb(248, 248, 248);
}
pre code {
white-space: pre; /* Override Bootstrap to preserve line breaks in code. */
overflow-x: auto;
}
hr {
border: 0;
height: 1px;