From 356c9dca43593f2bca14403df30a3fb6498068ef Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 15 Mar 2017 23:56:56 +0000 Subject: [PATCH] Stop code sample lines wrapping --- assets/sass/base/_code.sass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/sass/base/_code.sass b/assets/sass/base/_code.sass index 8cf53086..553a4dcf 100644 --- a/assets/sass/base/_code.sass +++ b/assets/sass/base/_code.sass @@ -1,3 +1,10 @@ +pre + overflow: auto + word-wrap: no-wrap + +pre code + white-space: pre + code.hljs background-color: inherit padding: 0