Fixed code block wrapping on export

Now wraps instead of running off the page.

Fixed #676
This commit is contained in:
Dan Brown 2018-02-04 17:35:01 +00:00
parent 7c44f5462c
commit 1d49b65c2e
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -14,3 +14,14 @@ table {
border-spacing: 0;
border-collapse: collapse;
}
// Prevent code block overflow on export
pre {
padding-left: 12px;
}
pre:after {
display: none;
}
pre code {
white-space: pre-wrap;
}