diff --git a/source/stylesheets/custom.css.scss b/source/stylesheets/custom.css.scss index 941faa3..ff0f789 100644 --- a/source/stylesheets/custom.css.scss +++ b/source/stylesheets/custom.css.scss @@ -13,3 +13,11 @@ table td .long { max-width: calc(25vw - 115px); word-wrap: break-word; } + +// Fix horizontal scroll on mobile - code blocks +pre, code { + overflow-x: auto; + max-width: 100%; + white-space: pre; + word-wrap: normal; +}