diff options
author | jeremywho <jeremy@weebu.com> | 2016-12-01 00:03:23 +0300 |
---|---|---|
committer | jeremywho <jeremy@weebu.com> | 2016-12-01 00:03:23 +0300 |
commit | 97e347065c51ac5098e4f01984c82f1642e382e9 (patch) | |
tree | c123bf9cb6dc1abeca1711ce55b56eb90f18b893 | |
parent | 97054739a2523dcecac4ca43c151b4140d0b8783 (diff) |
added horizontal scrolling for code blocks (overflow-x:auto;)
-rwxr-xr-x | src/scss/themes/_hljs-tranquilpeak.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scss/themes/_hljs-tranquilpeak.scss b/src/scss/themes/_hljs-tranquilpeak.scss index e374c7f..ed8eecb 100755 --- a/src/scss/themes/_hljs-tranquilpeak.scss +++ b/src/scss/themes/_hljs-tranquilpeak.scss @@ -5,6 +5,11 @@ pre > code { color: map-get($highlight-colors, night-rider); } +// allow for horizontal scrolling of code blocks +pre > code.codeblock { + overflow-x: auto; +} + // Default inline code code { background-color: map-get($highlight, 'background'); |