Browse files

Turn off word wrapping for code

Using Highlight.js, when I use fenced code blocks, the text wraps which doesn't look very nice.

This is a bit of a brute force fix for the issue. There might be a better way of doing it, but this
works for me for now.
  • Loading branch information...
Abizern committed Nov 11, 2017
1 parent 8034261 commit 1b69eb017c7321c7445cc8bcb3ba4badba26981d
Showing with 5 additions and 0 deletions.
  1. +5 −0 static/css/main.css
@@ -255,3 +255,8 @@ header.title
margin-top: 30px;
pre > code {
white-space: pre;
word-wrap: initial;
word-break: initial;

0 comments on commit 1b69eb0

Please sign in to comment.