diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2017-10-02 22:57:37 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2017-10-03 13:49:58 +0300 |
commit | ad70e312385c9b2b685da1e503ec310e945d673b (patch) | |
tree | cc0603380d590b785c1f1525c2e5d5c0441f1879 /content | |
parent | 1d733884d0099f33cad65ed00c0378bf6e3df8df (diff) |
Make long lines to scroll horizontally
Diffstat (limited to 'content')
-rw-r--r-- | content/assets/stylesheets/stylesheet.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss index f8537157..c7c656ca 100644 --- a/content/assets/stylesheets/stylesheet.scss +++ b/content/assets/stylesheets/stylesheet.scss @@ -1,5 +1,5 @@ --- -version: 20 +version: 21 --- @import "variables"; @@ -78,6 +78,12 @@ blockquote { pre { background-color: $pre-background-color; + + code { + word-wrap: normal; + word-break: normal; + white-space: pre; + } } hr { @@ -92,7 +98,6 @@ code, code span { p code, li code, table code { color: $code-color; background-color: $code-background-color; - padding: 2px 4px; } a > code { |